]> git.ipfire.org Git - thirdparty/curl.git/commit
request: paused upload on completed download, assess connection
authorStefan Eissing <stefan@eissing.org>
Wed, 3 Apr 2024 11:18:01 +0000 (13:18 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 4 Apr 2024 09:45:19 +0000 (11:45 +0200)
commitcfc65fd1ee164113e4b342f2e57e36fdc07c87fd
tree8fe43e01ae76e79653670eed15aaf36c54b82724
parentd5e83eb745762f48d8fafadc5df5dd3ae8d8941e
request: paused upload on completed download, assess connection

A transfer with a completed download that is still uploading needs to
check the connection state when it is PAUSEd, since connection
close/errors would otherwise go unnoticed.

Reported-by: Sergey Bronnikov
Fixes #13260
Closes #13271
lib/request.c
lib/transfer.c
tests/http/clients/.gitignore
tests/http/clients/Makefile.inc
tests/http/clients/upload-pausing.c [new file with mode: 0644]
tests/http/test_07_upload.py
tests/http/testenv/mod_curltest/mod_curltest.c