DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27134>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27134

mod_ldap/util_ldap blindly rebind connection in checkuserid





------- Additional Comments From [EMAIL PROTECTED]  2004-04-26 22:40 -------
I did a series of tests using 2.0.49 with each of:

1) util_ldap.c from cvs version 1.24

2) util_ldap.c patched with 11296 

3) util_ldap.c patched with 10470 and the change to util_ldap_connection_destroy

I did tests with one data set that stepped through 11 usernames in nearly serial
order, and another that was more of a random walk across the same usernames.
Both data sets included some pseudo-random failures.

It can be summarized as follows:

1) the CVS code left 10 sockets in use at the end of the test until I HUPed the
server. It reached that near level pretty quickly and then stayed there.

The authentication results of the CVS code were entirely unreliable.

For the serial test, 34 good, 69 bad. ("good" is test cases the expected result)
For the random test, 410 good, 394 bad.

(Would you suggest combining CVS with another patch?)

The versions 2) and 3) both returned 100% good results

Version (3) promptly closed all connections (as expected)

Version (2) on the serial test left 9 sockets in use at the end; 
on the random test left 4 sockets in use at the end
Both test data sets showed some reuse of sockets.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to