jira-importer opened a new issue, #1360:
URL: https://github.com/apache/httpcomponents-core/issues/1360

   **[Patrick 
Barry](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=patrickjamesbarry)**
 opened 
**[HTTPCORE-769](https://issues.apache.org/jira/browse/HTTPCORE-769?redirect=false)**
 and commented
   
   Regarding http1.1 requests.... We have a service we are reaching out to, 
that is sending back a 408, but no connection: close.  
   
   According to https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408
   
    
   
   ```
   The HTTP 408 Request Timeout client error response status code indicates 
that the server would like to shut down this unused connection. A 408 is sent 
on an idle connection by some servers, even without any previous request by the 
client.
   A server should send the Connection: close header field in the response, 
since 408 implies that the server has decided to close the connection rather 
than continue waiting.
   ```
   
    
   
   We are using the CloseableHttpAsyncClient with 
PoolingAsyncClientConnectionManager.  When we get a 408 and they do not specify 
that connection should be closed, how can we force this? Can it be accomplished 
with an interceptor or is it done by default inside the library?  The response 
is actually sending back Connection=keep-alive
   
    
   
   
   ---
   
   **Affects:** 5.2.5, 5.3-beta1
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to