Statistics
| Branch: | Tag: | Revision:

root / snf-common / synnefo / lib / pool @ 4ab1af1a

Name Size
__init__.py 15.7 kB
http.py 4.7 kB
tests.py 13 kB

Latest revisions

# Date Author Comment
4ab1af1a 03/27/2013 06:59 pm Georgios D. Tsoukalas

pool context manager, http pool AssertionError fix

Refs #3492

- Introduce a generic PooledObject class to act both
as a context manager for getting and putting back
an object from a pool.

- Implement a class PooledHTTPConnection(PooledObject)
as a sublcass of the one in (1)...

1c53bc1d 03/22/2013 05:25 pm Stratos Psomadakis

Fix deref before None check in http pool

74d988b0 02/01/2013 04:00 pm Christos Stavrakakis

pep8 fixes to snf-common

9557ea30 10/09/2012 05:01 pm Vangelis Koukis

Fix duplicate return of HTTP connection into pool

Fix duplicate return of HTTP connection into pool on duplicate
invocation of conn.close().

Revert commit b9c834003, and make sure a connection object's _pool
attribute is re-initialized whenever it is retrieved from the pool....

702850c4 09/12/2012 01:17 pm Christos Stavrakakis

Enhange logging in db and http pools

ac7e2fd7 09/12/2012 01:16 pm Christos Stavrakakis

Fix bug in http connection pool

Do not reset connetion _pool attribute, since it is not (yet?)
initialized when getting the object from the pool.

a1284c0c 09/07/2012 06:24 pm Georgios D. Tsoukalas

remove obsolete kwarg verify

90644e50 09/07/2012 03:15 pm Georgios D. Tsoukalas

don't take mutex for cleanup

57607cbd 09/07/2012 03:15 pm Georgios D. Tsoukalas

Enhance pooling API, implementation, and tests

- Verify objects (new and old) with a hook _pool_verify.
Discard objects from the pool that fail verification.
A newly created object failing verification is fatal.

- Remove all hooks from the pool set access critical section....

818bb9bf 09/04/2012 04:45 pm Georgios D. Tsoukalas

simple http_request objects over connection pools

View revisions

Also available in: Atom