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.
--
/ daniel.haxx.se || https://rock-solid.curl.dev
--
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette: https://curl.se/mail/etiquette.html