hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea Fabris" <cavaliereosc...@email.it>
Subject [PATCH] MultiThreadedHttpConnectionManager and CLOSE_WAIT
Date Fri, 10 Oct 2003 08:19:06 GMT
I tried to fix the problem on the last source i got from the repository
(9-10-2003), but from my test setting the SO_LINGER timeout doesn't achieve
any result.

I send the patch i made because i don't know if i applyied it right or not
(i mean i don't know if i set the SO_LINGER in the right place)

Class: HttpConnection
method: void open()
line 681: + socket.setSoLinger(true, 0);

The line was added at the end of the open() method

Andrea Fabris
Sytel Reply

On Fri, 10 Oct 2003 08:52:58 +0100 Kalnichevski, [KO] wrote:

 KO> Odi,
 KO> If there's enough confidence that setting linger time to 0 will not
 KO> have an unexpected adverse effect, the fix can be included into 2.0. I
 KO> do not know TCP/IP that well to make that call, though.
 KO> Oleg

Email.it, the professional e-mail, gratis per te: http://www.email.it/f

Comunica con il mondo in sicurezza e rapidità ordina subito la tua casella da 15, 50 o 100
MB di spazio.
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=1044&d=10-10

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

View raw message