Home
last modified time | relevance | path

Searched refs:content_length_given (Results 1 - 5 of 5) sorted by relevance

/third_party/libwebsockets/lib/roles/h1/
H A Dops-h1.c129 (int)wsi->http.content_length_given, in lws_read_h1()
132 if (wsi->http.content_length_given && !wsi->http.rx_content_remain) in lws_read_h1()
135 while (len && (!wsi->http.content_length_given || wsi->http.rx_content_remain)) { in lws_read_h1()
140 if (wsi->http.content_length_given) in lws_read_h1()
181 if (lwsi_role_h2(wsi) && !wsi->http.content_length_given) { in lws_read_h1()
/third_party/libwebsockets/lib/roles/h2/
H A Dops-h2.c882 while (((!wsi->http.content_length_given) || in lws_h2_bind_for_post_before_action()
901 if (wsi->http.content_length_given && wsi->http.rx_content_length) in lws_h2_bind_for_post_before_action()
905 if (!wsi->http.content_length_given && !wsi->h2.END_STREAM) in lws_h2_bind_for_post_before_action()
H A Dhttp2.c1674 h2n->swsi->http.content_length_given = 1;
2305 (!n && h2n->swsi->http.content_length_given && !lws_buflist_next_segment_len(
/third_party/libwebsockets/lib/roles/http/
H A Dprivate-lib-roles-http.h277 unsigned int content_length_given:1; member
/third_party/libwebsockets/lib/roles/http/client/
H A Dclient-http.c920 wsi->http.content_length_given = 0; in lws_client_interpret_server_handshake()
934 wsi->http.content_length_given = 1; in lws_client_interpret_server_handshake()
1550 // wsi->http.content_length_given); in lws_http_client_read()
1552 if (wsi->http.rx_content_remain || !wsi->http.content_length_given) in lws_http_client_read()

Completed in 8 milliseconds