hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aurelien Pernoud" <apern...@sopragroup.com>
Subject RE: [Bug 13463] - Request/Response race condition when doing multiple requests on the same connection.
Date Mon, 17 Feb 2003 09:44:44 GMT

Aurelien Pernoud a écrit :

>> ------- Additional Comments From becke@u.washington.edu 2003-02-14
>> 17:30 ------- I just attached a test version of
>> MultiThreadedHttpConnection manager.  Mind you this code is quite
>> ugly.  This seems to have fixed the problem for me.  Please give
>> this a shot if you can.
>> Mike
> Thx a lot, I'll try it in the day, and also I'll trace down all the
> instances of methods used, connections used, etc... to be sure
> they're not interfering between users !

Wow... looks like I tried to optimize my code a little too much... I'm
really sorry, I've just found out that when two users logged in using the
same login/password, they were sharing methods. Can the exception I said
before (attempted to read on closed stream, etc...) come from that ?
Cause I made my test using the same user many times.

-> Two threads using the same method and executing it simultenaously...

And guess what, removing this "optimization" I made when migrating to 2.0a2,
it seems to work fine, even using the 2.0a2 release.

I'll test furthermore today and if everything works fine again, I'll add a
comment on the bug saying it works for me.

Thx to everyone for help, and sorry Mike I made you spend some time on it, I
hate it :((((


View raw message