Home
last modified time | relevance | path

Searched refs:HTTP_VERSION_1_1 (Results 1 – 16 of 16) sorted by relevance

/lighttpd1.4/src/t/
H A Dtest_http_kv.c12 assert(0 == strcmp(get_http_version_name(HTTP_VERSION_1_1), "HTTP/1.1")); in test_http_kv_tables()
H A Dtest_mod_staticfile.c398 r.http_version = HTTP_VERSION_1_1; in test_mod_staticfile()
/lighttpd1.4/src/
H A Dconnections.c180 if (r->http_version > HTTP_VERSION_1_1) { in connection_handle_response_end_state()
462 if (r->http_version <= HTTP_VERSION_1_1) { in connection_handle_write_state()
490 } while (r->http_version <= HTTP_VERSION_1_1 in connection_handle_write_state()
1019 if (r->http_version > HTTP_VERSION_1_1) in connection_state_machine_loop()
1031 if (r->http_version > HTTP_VERSION_1_1 && r != &con->request) in connection_state_machine_loop()
1479 if (r->http_version <= HTTP_VERSION_1_1 in connection_check_timeout()
1845 if (r->http_version > HTTP_VERSION_1_1) in connection_check_expect_100()
1847 else if (r->http_version == HTTP_VERSION_1_1) in connection_check_expect_100()
1863 if (r->http_version > HTTP_VERSION_1_1) { in connection_handle_read_post_state()
1896 if (r->http_version > HTTP_VERSION_1_1) { in connection_handle_read_post_state()
H A Dhttp_kv.h61 typedef enum { HTTP_VERSION_UNSET = -1, HTTP_VERSION_1_0, HTTP_VERSION_1_1, HTTP_VERSION_2 } http_v… enumerator
H A Dmod_wstunnel.c351 if (0 == r->reqbody_length || r->http_version > HTTP_VERSION_1_1) { in wstunnel_create_env()
358 r->http_status = (r->http_version > HTTP_VERSION_1_1) in wstunnel_create_env()
564 if (r->http_version > HTTP_VERSION_1_1) { in mod_wstunnel_check_extension()
571 if (r->http_version != HTTP_VERSION_1_1) in mod_wstunnel_check_extension()
792 if (r->http_version == HTTP_VERSION_1_1) { in create_response_rfc_6455()
854 if (hctx->hybivers == 0 && r->http_version == HTTP_VERSION_1_1) { in mod_wstunnel_handshake_create_response()
H A Drequest.c478 if (HTTP_VERSION_1_1 != r->http_version) { in http_request_parse_single_header()
517 r->http_version = (proto[7] == '1') ? HTTP_VERSION_1_1 : HTTP_VERSION_1_0; in http_request_parse_proto_loose()
893 r->http_version = HTTP_VERSION_1_1; in http_request_parse_reqline()
1231 if (r->http_version >= HTTP_VERSION_1_1) in http_request_parse()
1235 if (HTTP_VERSION_1_1 != r->http_version in http_request_parse()
H A Dresponse.c109 && r->http_version == HTTP_VERSION_1_1) { in http_response_write_header()
131 (r->http_version == HTTP_VERSION_1_1) in http_response_write_header()
368 && r->http_version == HTTP_VERSION_1_1) { in http_response_config()
831 else if (r->http_version == HTTP_VERSION_1_1) { in http_response_write_prepare()
H A Dhttp_kv.c23 { HTTP_VERSION_1_1, CONST_LEN_STR("HTTP/1.1") },
H A Dhttp-header-glue.c641 if (r->http_version == HTTP_VERSION_1_1) in http_response_backend_done()
1049 else if (vers == HTTP_VERSION_1_1) in http_response_send_1xx_cb_set()
1060 else if (r->http_version == HTTP_VERSION_1_1) in http_response_send_1xx()
H A Dmod_proxy.c937 || (r->http_version != HTTP_VERSION_1_1 && !r->h2_connect_ext)) in proxy_create_env()
989 if (connhdr && !hctx->conf.header.force_http10 && r->http_version >= HTTP_VERSION_1_1 in proxy_create_env()
1140 (r->http_version == HTTP_VERSION_1_1 || r->h2_connect_ext); in mod_proxy_check_extension()
H A Dhttp_range.c357 if (r->http_version < HTTP_VERSION_1_1) in http_range_rfc7233()
H A Dmod_maxminddb.c474 if (*hctx && r->http_version <= HTTP_VERSION_1_1) { in REQUEST_FUNC()
H A Dmod_cgi.c837 r->http_version = HTTP_VERSION_1_1; in cgi_create_env()
1035 else if (!hctx->conf.upgrade || r->http_version != HTTP_VERSION_1_1) { in URIHANDLER_FUNC()
H A Dserver.c1435 http_response_send_1xx_cb_set(NULL, HTTP_VERSION_1_1); in server_main_setup()
1437 http_response_send_1xx_cb_set(connection_send_1xx, HTTP_VERSION_1_1); in server_main_setup()
H A Dmod_status.c179 buffer_append_int(b, (r->http_version <= HTTP_VERSION_1_1 || r->h2id) in mod_status_html_rtable_r()
H A Dh2.c3032 if (r->http_version != HTTP_VERSION_1_1) { in h2_check_con_upgrade_h2c()