]> git.ipfire.org Git - thirdparty/curl.git/commit
pause: force-drain the transfer on unpause
authorDaniel Stenberg <daniel@haxx.se>
Fri, 28 Feb 2020 22:55:05 +0000 (23:55 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 29 Feb 2020 09:53:09 +0000 (10:53 +0100)
commitfa0216b294af4c7113a9040ca65eefc7fc18ac1c
treefa845a386251732a7dcf6891d9f0c0e843faa033
parent0e06c1637b30800d41636dcd02f5becf3f6664c1
pause: force-drain the transfer on unpause

... 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
Closes #5000
lib/easy.c
lib/transfer.c