hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Sutton <adr...@intencha.com>
Subject Re: Still problems with HttpRecoverableException and HTTPS
Date Tue, 15 Apr 2003 08:21:18 GMT
And with that proper terminology and Mike's investigations into which  
servers are affected I can turn up:

http://www.geocrawler.com/mail/ 
thread.php3?subject=cvs+commit%3A+apache%2Fhtdocs%2Fmanual%2Fmisc+fin_wa 
it_2.html&list=417

http://www.geocrawler.com/archives/3/417/1997/1/50/2291525/

http://ftp.ics.uci.edu/pub/ietf/http/hypermail/1997q1/0253.html

This is particularly detailed:
http://httpd.apache.org/docs/misc/fin_wait_2.html
(particularly see Appendix A)

I don't think this is the same problem but I'm not sure:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11983

So from my reading of this (and I'm tired sick and confused so feel  
free to disagree), the problem is likely to appear when HttpClient  
sends the request just as the timeout is occurring?  My heads too foggy  
to get around all the details at the moment.  Hopefully that will give  
someone a starting point. :)

Regards,

Adrian Sutton.

On Tuesday, April 15, 2003, at 05:28  PM, Ortwin Gl├╝ck wrote:

> Adrian Sutton wrote:
>> Okay, in that case I'm putting my money on finding something like the  
>> following in the server code:
>> if (timeoutShouldHappenNow) {
>>     outputStream.close();
>> }
>> In other words, it closes the output stream but not the input stream  
>> or something similar.  Possibly a bug in the JVM that causes  
>> socket.close() to only close the output stream or something as well.
>
> That is generally called a "half-open socket". While legitimate, it's  
> not ideal in this situation...
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:  
> commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:  
> commons-httpclient-dev-help@jakarta.apache.org
>


Mime
View raw message