curl / Mailing Lists / curl-users / Single Mail
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.

Recover from: (18) transfer closed ...?

From: Paul Gilmartin via curl-users <curl-users_at_lists.haxx.se>
Date: Mon, 26 Jun 2023 09:26:14 -0600

Lately, in a script with with
curl --etag-save ... --time-cond ...
I got:
     curl: (18) transfer closed with outstanding read data remaining

Simply retrying shouldn't work because both the ETag and the timestamp
of the target file were updated with the failure.

I could edit my script to eliminate the conditionals. Is there a
simpler way to retry/recover?

-- 
Thabks,
gil
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2023-06-26