]> granicus.if.org Git - curl/commit
easy: fix connection ownership in curl_easy_pause
authorBasuke Suzuki <Basuke.Suzuki@sony.com>
Fri, 5 Jan 2018 23:39:07 +0000 (15:39 -0800)
committerJay Satiro <raysatiro@yahoo.com>
Tue, 9 Jan 2018 07:50:18 +0000 (02:50 -0500)
commit2a6dbb8155d3e96640d74f56a3be5cd557c33769
treec237493dc7e1662db393d10c77b742087a92e598
parent89f68047347cef29f8f4cab6a0ae3ff35d467c37
easy: fix connection ownership in curl_easy_pause

Before calling Curl_client_chop_write(), change the owner of connection
to the current Curl_easy handle. This will fix the issue #2217.

Fixes https://github.com/curl/curl/issues/2217
Closes https://github.com/curl/curl/pull/2221
lib/easy.c