Re: Question on HTTP 408

On Wed, 4 Jun 2014, SĂ©bastien Barnoud wrote:

> I have several years ago used customized Curl and GSoap to automaticaly 
> retry requests on such a condition. As this is used for money transfer, it 
> is very important to distinguish retryable errors (connect timeout, ...) 
> from others errors (request timeout, ...). On a close, no retry is possible 
> except if the server replies with this 408. So i agree with you, and i know 
> that some application uses this feature.

But then, curl doesn't read from the connection until after it has sent its 
request (or part of request) so the "problematic" case with getting a response 
before even sending a request will never be noticed.

-- 

  / daniel.haxx.se

Received on Wednesday, 4 June 2014 18:15:43 UTC