mirror of
https://github.com/curl/curl.git
synced 2026-07-30 17:58:03 +03:00
parent
c7f53b7493
commit
be8d2b037d
4 changed files with 23 additions and 7 deletions
10
lib/easy.c
10
lib/easy.c
|
|
@ -1132,6 +1132,16 @@ CURLcode curl_easy_pause(struct Curl_easy *data, int action)
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef USE_HYPER
|
||||
if(!(newstate & KEEP_SEND_PAUSE)) {
|
||||
/* need to wake the send body waker */
|
||||
if(data->hyp.send_body_waker) {
|
||||
hyper_waker_wake(data->hyp.send_body_waker);
|
||||
data->hyp.send_body_waker = NULL;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/* if there's no error and we're not pausing both directions, we want
|
||||
to have this handle checked soon */
|
||||
if((newstate & (KEEP_RECV_PAUSE|KEEP_SEND_PAUSE)) !=
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue