curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Option for default expected content size?

From: Christian Schmitz <filemakerlists_at_monkeybreadsoftware.de>
Date: Tue, 5 Dec 2017 14:45:54 +0100

>
> After the server closes the connection, curl can't do anything but also close it from its end.
>

It closes because we don’t send GET request.
I made a test app with a normal socket and that works.
So if I could tell CURL that we expect 0 bytes, it could return quickly from Perform call and we could do the next one.

Sincerely
Christian

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-12-05