curl-library
Re: Serverside disconnection vs. simple Closing connection #n
Date: Fri, 24 Apr 2009 15:34:29 +0200
> error. Closing the connection is the only way that server can use to tell the
> client about the end of the response-body.
That is the point I was missing, thanks for the details.
Now it's clear the problem.
Thank you for your time!
Bests
Hofi
On 2009.04.23. 22:37, "Daniel Stenberg" <daniel_at_haxx.se> wrote:
> On Thu, 23 Apr 2009, Istvan Hoffmann wrote:
>
>> The main problem is here in my opinion that curl which is a lower level
>> layer tries to decide what is error an what is not. I think letting the user
>> decide what error she/he would like to ignore and what not is a much more
>> better solution.
>
> The main problem, to me, is that this server sends a HTTP stream and the
> connection is closed and there is *NO* way for libcurl to know that this is an
> error. Closing the connection is the only way that server can use to tell the
> client about the end of the response-body.
Received on 2009-04-24