commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17677] - Pooled connection architecture vulnerable to double use
Date Sun, 09 Mar 2003 20:54:15 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17677>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17677

Pooled connection architecture vulnerable to double use





------- Additional Comments From mario@ops.co.at  2003-03-09 20:54 -------
The main idea behind my patch is to hand out only a ConnectionFacade. 
When "passivate" the connection, the reference to the connection instance 
within the ConnectionFacade is set to "null"
You could is isClosed() on the facade to safely check if this connection is 
still valid.
isClosed() returns true if connection is null or connection isClosed()

I havent had enough time to hardly test this, so please dont bother me if i 
have something overseen.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message