Lines Matching refs:http
39 * Return http header index if one matches slen chars of s, or -1
170 wsi->http.tx_content_length = content_length;
171 wsi->http.tx_content_remain = content_length;
200 if (!wsi->http.lcs && content_type &&
213 !wsi->http.lcs &&
223 if (!wsi->mux_substream && wsi->http.lcs) {
226 * - http compression transform active
231 wsi->http.comp_ctx.chunking = 1;
240 if (wsi->http.lcs &&
241 wsi->http.conn_type == HTTP_CONNECTION_KEEP_ALIVE)
252 wsi->http.conn_type = (enum http_conn_type)types[t];
322 wsi->http.response_code = code;
324 wsi->http.access_log.response = (int)code;
350 if (wsi->http.request_version < LWS_ARRAY_SIZE(hver))
351 p1 = hver[wsi->http.request_version];
434 wsi->a.vhost->http.error_document_404 &&
438 (uint8_t *)wsi->a.vhost->http.error_document_404,
439 (int)strlen(wsi->a.vhost->http.error_document_404),
459 "<meta charset=utf-8 http-equiv=\"Content-Language\" "
498 wsi->http.tx_content_length = (unsigned int)len;
499 wsi->http.tx_content_remain = (unsigned int)len;
514 * for http/1, we can just append the body after the finalized
541 * if we're going with http/1.1 and keepalive, we have to give fake
598 ah = pt->http.ah_list;
661 ah = pt->http.ah_list;