Searched refs:want_send (Results 1 – 6 of 6) sorted by relevance
/curl/lib/ |
H A D | cf-h2-proxy.c | 1232 bool want_recv, want_send; in cf_h2_proxy_adjust_pollset() local 1235 want_send = nghttp2_session_want_write(ctx->h2) || in cf_h2_proxy_adjust_pollset() 1241 Curl_pollset_check(data, ps, sock, &want_recv, &want_send); in cf_h2_proxy_adjust_pollset() 1243 if(ctx->h2 && (want_recv || want_send)) { in cf_h2_proxy_adjust_pollset() 1252 want_send = (!s_exhaust && want_send) || in cf_h2_proxy_adjust_pollset() 1257 Curl_pollset_set(data, ps, sock, want_recv, want_send); in cf_h2_proxy_adjust_pollset() 1259 want_recv, want_send); in cf_h2_proxy_adjust_pollset() 1265 want_send = nghttp2_session_want_write(ctx->h2) || in cf_h2_proxy_adjust_pollset() 1269 Curl_pollset_set(data, ps, sock, want_recv, want_send); in cf_h2_proxy_adjust_pollset() 1271 want_recv, want_send); in cf_h2_proxy_adjust_pollset()
|
H A D | transfer.c | 1080 bool want_send = Curl_req_want_send(data); in xfer_setup() local 1087 if(conn->bits.multiplex || conn->httpversion >= 20 || want_send) { in xfer_setup() 1093 if(want_send) in xfer_setup() 1275 bool want_send = ((data)->req.keepon & KEEP_SEND); in Curl_xfer_is_blocked() local 1277 if(!want_send) in Curl_xfer_is_blocked() 1280 return (want_send && Curl_creader_is_paused(data)); in Curl_xfer_is_blocked()
|
H A D | http2.c | 2400 bool want_recv, want_send; in cf_h2_adjust_pollset() local 2406 Curl_pollset_check(data, ps, sock, &want_recv, &want_send); in cf_h2_adjust_pollset() 2407 if(want_recv || want_send) { in cf_h2_adjust_pollset() 2412 c_exhaust = want_send && !nghttp2_session_get_remote_window_size(ctx->h2); in cf_h2_adjust_pollset() 2413 s_exhaust = want_send && stream && stream->id >= 0 && in cf_h2_adjust_pollset() 2417 want_send = (!s_exhaust && want_send) || in cf_h2_adjust_pollset() 2421 Curl_pollset_set(data, ps, sock, want_recv, want_send); in cf_h2_adjust_pollset() 2427 want_send = nghttp2_session_want_write(ctx->h2) || in cf_h2_adjust_pollset() 2430 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 | 847 bool want_recv, want_send; in cf_ngtcp2_adjust_pollset() local 852 Curl_pollset_check(data, ps, ctx->q.sockfd, &want_recv, &want_send); in cf_ngtcp2_adjust_pollset() 853 if(!want_send && !Curl_bufq_is_empty(&ctx->q.sendbuf)) in cf_ngtcp2_adjust_pollset() 854 want_send = TRUE; in cf_ngtcp2_adjust_pollset() 856 if(want_recv || want_send) { in cf_ngtcp2_adjust_pollset() 862 c_exhaust = want_send && (!ngtcp2_conn_get_cwnd_left(ctx->qconn) || in cf_ngtcp2_adjust_pollset() 864 s_exhaust = want_send && stream && stream->id >= 0 && in cf_ngtcp2_adjust_pollset() 867 want_send = (!s_exhaust && want_send) || in cf_ngtcp2_adjust_pollset() 870 Curl_pollset_set(data, ps, ctx->q.sockfd, want_recv, want_send); in cf_ngtcp2_adjust_pollset()
|
H A D | curl_osslq.c | 2237 bool want_recv, want_send; in cf_osslq_adjust_pollset() local 2238 Curl_pollset_check(data, ps, ctx->q.sockfd, &want_recv, &want_send); in cf_osslq_adjust_pollset() 2239 if(want_recv || want_send) { in cf_osslq_adjust_pollset()
|
Completed in 45 milliseconds