You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2009/03/10 20:57:50 UTC
[jira] Resolved: (HTTPCORE-191) SocketHttpClientConnection does not
support socket timeouts while reading response header
[ 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