Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
"--head" and "--request" Options Together
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Thuc Nguyen via curl-users <curl-users_at_cool.haxx.se>
Date: Tue, 9 Mar 2021 13:31:11 -0800
Hi,
What's the expected behavior when both "--head" and "--request GET" options
are provided?
I noticed a lot of "Connection reset" errors on the server side. I traced
it back to a client that's using "curl" to download files with both options
specified. TCP dumps show that "curl" sends the FIN packet once it receives
the response for "--head". However, the server continues to send the data
over and curl responds with "RST" packets.
I'm able to reproduce with the latest version 7.75.0. I happen to have an
older version, 7.29.0, and can't reproduce it there. So it seems that the
behavior was changed in recent versions.
Thanks for your help.
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2021-03-09
Date: Tue, 9 Mar 2021 13:31:11 -0800
Hi,
What's the expected behavior when both "--head" and "--request GET" options
are provided?
I noticed a lot of "Connection reset" errors on the server side. I traced
it back to a client that's using "curl" to download files with both options
specified. TCP dumps show that "curl" sends the FIN packet once it receives
the response for "--head". However, the server continues to send the data
over and curl responds with "RST" packets.
I'm able to reproduce with the latest version 7.75.0. I happen to have an
older version, 7.29.0, and can't reproduce it there. So it seems that the
behavior was changed in recent versions.
Thanks for your help.
-- Thuc
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2021-03-09