Lines Matching refs:sendbuf
782 Curl_bufq_init2(&ws->sendbuf, chunk_size, WS_CHUNK_COUNT, in Curl_ws_accept()
1016 if(!Curl_bufq_is_empty(&ws->sendbuf)) { in ws_flush()
1021 while(Curl_bufq_peek(&ws->sendbuf, &out, &outlen)) { in ws_flush()
1036 Curl_bufq_len(&ws->sendbuf)); in ws_flush()
1045 Curl_bufq_skip(&ws->sendbuf, n); in ws_flush()
1178 space = Curl_bufq_space(&ws->sendbuf); in curl_ws_send()
1180 buflen, Curl_bufq_len(&ws->sendbuf), space); in curl_ws_send()
1190 &ws->sendbuf, &result); in curl_ws_send()
1204 &ws->sendbuf, &result); in curl_ws_send()
1210 buffer, buflen, &ws->sendbuf, &result); in curl_ws_send()
1215 while(!result && (buflen || !Curl_bufq_is_empty(&ws->sendbuf))) { in curl_ws_send()
1227 buffer, buflen, &ws->sendbuf, &result); in curl_ws_send()
1230 payload_added = Curl_bufq_len(&ws->sendbuf); in curl_ws_send()
1255 result = Curl_bufq_unwrite(&ws->sendbuf, 1); in curl_ws_send()
1272 Curl_bufq_free(&conn->proto.ws->sendbuf); in ws_free()