-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTPS transfer stalled when using pause/continue #4966
Labels
Comments
@andrsbub also posted an example code that can reproduce this issue when he posted to the mailing list |
bagder
added a commit
that referenced
this issue
Feb 28, 2020
... since the socket might not actually be readable anymore when for example the data is already buffered in the TLS layer. Fixes #4966 Reported-by: Anders Berg
bagder
added a commit
that referenced
this issue
Mar 5, 2020
The fix was reverted, this issue is back. |
bagder
added a commit
that referenced
this issue
Mar 6, 2020
There might be data available that was already read off the socket, for example in the TLS layer. Reported-by: Anders Berg Fixes #4966
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I did this
I have an application that is (ab)using the pause/continue feature of libcurl.
The application is having the CURLOPT_WRITEFUNCTION write the http data to a
small buffer, pausing the transfer when this buffer space is running low. The
issue is that, on occasion, the transfer is not properly resumed after calling
curl_easy_pause(... CURLPAUSE_CONT)
. The buffer with the data that caused theCURL_WRITEFUNC_PAUSE return is always delivered, but no new data is received.
The application is using the normal
curl_multi_perform()
to drive thetransfer.
libcurl version
libcurl/7.65.3 OpenSSL/1.1.1c zlib/1.2.11 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.0.5) libssh/0.9.0/openssl/zlib nghttp2/1.39.2 librtmp/2.3
operating system
Linux hilbert 5.3.0-26-generic #28-Ubuntu SMP Wed Dec 18 05:37:46 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: