Lines Matching refs:chunk_remaining
908 wsi->chunk_remaining = 0; /* ie, next thing is chunk size */ in lws_client_interpret_server_handshake()
1406 wsi->chunk_remaining <<= 4; in lws_http_client_read()
1407 wsi->chunk_remaining |= n; in lws_http_client_read()
1414 if (wsi->chunk_remaining) { in lws_http_client_read()
1446 wsi->chunk_remaining = 0; in lws_http_client_read()
1480 if (wsi->chunked && !wsi->chunk_remaining) in lws_http_client_read()
1489 if (wsi->chunked && wsi->chunk_remaining && in lws_http_client_read()
1490 wsi->chunk_remaining < n) in lws_http_client_read()
1491 n = wsi->chunk_remaining; in lws_http_client_read()
1525 if (wsi->chunked && wsi->chunk_remaining) in lws_http_client_read()
1526 wsi->chunk_remaining -= n; in lws_http_client_read()
1535 if (wsi->chunked && !wsi->chunk_remaining) in lws_http_client_read()