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=20703>.
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=20703

unable to find line starting with "HTTP" error





------- Additional Comments From [EMAIL PROTECTED]  2003-06-12 09:31 -------
For some reason the connection is being closed after the retry 3 requests are sent 
(the msnbc site 
redirects you all over the place before deciding to give you the page).  The 
DefaultMethodRetryHandler then refuses to retry the connection.

A workaround is to do something like:
            GetMethod get = new GetMethod("http://www.msnbc.com/news/default.asp

            get.setDoAuthentication( true );
            DefaultMethodRetryHandler retry = new DefaultMethodRetryHandler();
            retry.setRequestSentRetryEnabled(true);
            get.setMethodRetryHandler(retry);

which allows the retry to occur despite the request already having been sent once.  I 
can't see any 
reason for the connection to be closed though.  The server just seems to give up and 
closes the 
connection - there is no perceptable delay, the connection seems to be closed before 
or as we're 
writing the request.

Investigations continue....  Sugestions welcome. :)

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

Reply via email to