hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HTTPCORE-191) SocketHttpClientConnection does not support socket timeouts while reading response header
Date Tue, 10 Mar 2009 19:57:50 GMT

     [ https://issues.apache.org/jira/browse/HTTPCORE-191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oleg Kalnichevski resolved HTTPCORE-191.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.1

Fixed in SVN trunk. Could you please verify?

Oleg

> SocketHttpClientConnection does not support socket timeouts while reading response header
> -----------------------------------------------------------------------------------------
>
>                 Key: HTTPCORE-191
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-191
>             Project: HttpComponents HttpCore
>          Issue Type: Bug
>          Components: HttpCore
>    Affects Versions: 4.0
>            Reporter: Adam Bryzak
>             Fix For: 4.1
>
>         Attachments: HttpCore_191.java
>
>
> Similar to HTTPCORE-190, SocketHttpClientConnection, or more specifically AbstractHttpClientConnection.receiveResponseHeader()
does not store state of the current request being read, meaning a SocketTimeoutException occurring
while reading the status line or any of the headers will cause a retry to start reading the
next part of the data as if it were the status line when the call is retried.
> This is not causing an issue for me personally. I only spotted it when I was testing
the fix to HTTPCORE-190 by writing the response 1 byte at a time with a timeout being caused
for each byte. I am unsure of any web servers that may have a delay when writing the status
line and/or headers that would cause a timeout.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message