Searched refs:want_send (Results 1 – 6 of 6) sorted by relevance
/curl/lib/ |
H A D | transfer.c | 789 bool want_send = Curl_req_want_send(data); in xfer_setup() local 796 if(conn->bits.multiplex || conn->httpversion >= 20 || want_send) { in xfer_setup() 802 if(want_send) in xfer_setup() 984 bool want_send = ((data)->req.keepon & KEEP_SEND); in Curl_xfer_is_blocked() local 986 if(!want_send) in Curl_xfer_is_blocked() 989 return (want_send && Curl_creader_is_paused(data)); in Curl_xfer_is_blocked()
|
H A D | cf-h2-proxy.c | 1234 bool want_recv, want_send; in cf_h2_proxy_adjust_pollset() local 1237 want_send = nghttp2_session_want_write(ctx->h2) || in cf_h2_proxy_adjust_pollset() 1243 Curl_pollset_check(data, ps, sock, &want_recv, &want_send); in cf_h2_proxy_adjust_pollset() 1245 if(ctx->h2 && (want_recv || want_send)) { in cf_h2_proxy_adjust_pollset() 1254 want_send = (!s_exhaust && want_send) || in cf_h2_proxy_adjust_pollset() 1259 Curl_pollset_set(data, ps, sock, want_recv, want_send); in cf_h2_proxy_adjust_pollset() 1261 want_recv, want_send); in cf_h2_proxy_adjust_pollset() 1267 want_send = nghttp2_session_want_write(ctx->h2) || in cf_h2_proxy_adjust_pollset() 1271 Curl_pollset_set(data, ps, sock, want_recv, want_send); in cf_h2_proxy_adjust_pollset() 1273 want_recv, want_send); in cf_h2_proxy_adjust_pollset()
|
H A D | http2.c | 2423 bool want_recv, want_send; in cf_h2_adjust_pollset() local 2429 Curl_pollset_check(data, ps, sock, &want_recv, &want_send); in cf_h2_adjust_pollset() 2430 if(want_recv || want_send) { in cf_h2_adjust_pollset() 2435 c_exhaust = want_send && !nghttp2_session_get_remote_window_size(ctx->h2); in cf_h2_adjust_pollset() 2436 s_exhaust = want_send && stream && stream->id >= 0 && in cf_h2_adjust_pollset() 2440 want_send = (!s_exhaust && want_send) || in cf_h2_adjust_pollset() 2444 Curl_pollset_set(data, ps, sock, want_recv, want_send); in cf_h2_adjust_pollset() 2450 want_send = nghttp2_session_want_write(ctx->h2) || in cf_h2_adjust_pollset() 2453 Curl_pollset_set(data, ps, sock, want_recv, want_send); in cf_h2_adjust_pollset()
|
/curl/lib/vquic/ |
H A D | curl_quiche.c | 1168 bool want_recv, want_send; in cf_quiche_adjust_pollset() local 1173 Curl_pollset_check(data, ps, ctx->q.sockfd, &want_recv, &want_send); in cf_quiche_adjust_pollset() 1174 if(want_recv || want_send) { in cf_quiche_adjust_pollset() 1180 s_exhaust = want_send && stream && stream->opened && in cf_quiche_adjust_pollset() 1183 want_send = (!s_exhaust && want_send) || in cf_quiche_adjust_pollset() 1186 Curl_pollset_set(data, ps, ctx->q.sockfd, want_recv, want_send); in cf_quiche_adjust_pollset()
|
H A D | curl_ngtcp2.c | 846 bool want_recv, want_send; in cf_ngtcp2_adjust_pollset() local 851 Curl_pollset_check(data, ps, ctx->q.sockfd, &want_recv, &want_send); in cf_ngtcp2_adjust_pollset() 852 if(!want_send && !Curl_bufq_is_empty(&ctx->q.sendbuf)) in cf_ngtcp2_adjust_pollset() 853 want_send = TRUE; in cf_ngtcp2_adjust_pollset() 855 if(want_recv || want_send) { in cf_ngtcp2_adjust_pollset() 861 c_exhaust = want_send && (!ngtcp2_conn_get_cwnd_left(ctx->qconn) || in cf_ngtcp2_adjust_pollset() 863 s_exhaust = want_send && stream && stream->id >= 0 && in cf_ngtcp2_adjust_pollset() 866 want_send = (!s_exhaust && want_send) || in cf_ngtcp2_adjust_pollset() 869 Curl_pollset_set(data, ps, ctx->q.sockfd, want_recv, want_send); in cf_ngtcp2_adjust_pollset()
|
H A D | curl_osslq.c | 2245 bool want_recv, want_send; in cf_osslq_adjust_pollset() local 2246 Curl_pollset_check(data, ps, ctx->q.sockfd, &want_recv, &want_send); in cf_osslq_adjust_pollset() 2247 if(want_recv || want_send) { in cf_osslq_adjust_pollset()
|
Completed in 41 milliseconds