On 2/6/2025 5:30 AM, Daniel Stenberg via curl-library wrote:
On Mon, 3 Feb 2025, [Quipsy] Markus Karg via curl-library wrote:
The application is using curl easy API to create a curl instance,
sends a request, closes the instances, then does the same again, etc.
- which is working PRETTY WELL but rather slow.
In an attempt to speed up things we wanted to reuse the existing
http/1.1 connection, so we removed the closing and reinitializing of
curl between each http invocation.
But now the second invocation gets "100 Continue" response instead of
"200 OK"...?!
From a libcurl point of view it makes the same identical HTTP request
wether the connection is reused or fresh. It should not change the
server behavior as to a 100 is returned or not. I would expect it to
come or not come independent of connection reuse.
I think this implies a bug somewhere.
Markus did you ever determine whether your application was the cause of
the problem? If you think there is a bug in curl then please try the
latest version [1] and if if the problem is still present then can you
open an issue [2] and include instructions that we can use to reproduce?
Thanks
[1]: https://curl.se/download.html
[2]: https://github.com/curl/curl/issues/new?template=bug_report.yml
--
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette: https://curl.se/mail/etiquette.html