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/
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/
Dops-h2.c875 while (((!wsi->http.content_length_given) || in lws_h2_bind_for_post_before_action()
894 if (wsi->http.content_length_given && wsi->http.rx_content_length) in lws_h2_bind_for_post_before_action()
898 if (!wsi->http.content_length_given && !wsi->h2.END_STREAM) in lws_h2_bind_for_post_before_action()
Dhttp2.c1668 h2n->swsi->http.content_length_given = 1; in lws_h2_parse_end_of_frame()
2299 (!n && h2n->swsi->http.content_length_given && !lws_buflist_next_segment_len( in lws_h2_parser()
/third_party/libwebsockets/lib/roles/http/
Dprivate-lib-roles-http.h277 unsigned int content_length_given:1; member
/third_party/libwebsockets/lib/roles/http/client/
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()
1552 if (wsi->http.rx_content_remain || !wsi->http.content_length_given) in lws_http_client_read()