Home
last modified time | relevance | path

Searched refs:http_version (Results 1 – 25 of 28) sorted by relevance

12

/lighttpd1.4/src/
H A Dresponse.c109 && r->http_version == HTTP_VERSION_1_1) { in http_response_write_header()
115 } else if (r->http_version == HTTP_VERSION_1_0) {/*(&& r->keep_alive > 0)*/ 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()
369 r->http_version = HTTP_VERSION_1_0; in http_response_config()
811 else if (r->http_version == HTTP_VERSION_2) { in http_response_write_prepare()
831 else if (r->http_version == HTTP_VERSION_1_1) { in http_response_write_prepare()
917 if (r->http_version == HTTP_VERSION_UNSET) in http_response_call_error_handler()
918 r->http_version = HTTP_VERSION_1_0; in http_response_call_error_handler()
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()
764 r->http_version = HTTP_VERSION_2; in connection_handle_read_state()
988 if (r->http_version == HTTP_VERSION_2) { in connection_state_machine_loop()
1019 if (r->http_version > HTTP_VERSION_1_1) 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()
[all …]
H A Drequest.c478 if (HTTP_VERSION_1_1 != r->http_version) { in http_request_parse_single_header()
480 HTTP_VERSION_1_0 == 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()
526 r->keep_alive = (HTTP_VERSION_1_0 != r->http_version); in http_request_parse_proto_loose()
893 r->http_version = HTTP_VERSION_1_1; in http_request_parse_reqline()
897 r->http_version = HTTP_VERSION_1_0; 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 Dreqpool.c53 r->http_version = HTTP_VERSION_UNSET; in request_init_data()
93 r->http_version = HTTP_VERSION_UNSET; in request_reset()
H A Dhttp-header-glue.c641 if (r->http_version == HTTP_VERSION_1_1) in http_response_backend_done()
662 else if (__builtin_expect( (r->http_version == HTTP_VERSION_1_0), 0) in http_response_backend_done()
954 if (r->http_version >= HTTP_VERSION_2 && !r->h2_connect_ext) in http_response_process_headers()
963 if (r->http_version >= HTTP_VERSION_2) continue; in http_response_process_headers()
1058 if (r->http_version >= HTTP_VERSION_2) in http_response_send_1xx()
1060 else if (r->http_version == HTTP_VERSION_1_1) in http_response_send_1xx()
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 Dmod_sockproxy.c164 r->http_version = HTTP_VERSION_UNSET; in mod_sockproxy_connection_accept()
H A Drequest.h133 http_version_t http_version; member
H A Dmod_proxy.c929 if (hctx->conf.header.force_http10 || r->http_version == HTTP_VERSION_1_0) continue; in proxy_create_env()
937 || (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 Dmod_cgi.c837 r->http_version = HTTP_VERSION_1_1; in cgi_create_env()
851 r->http_version = HTTP_VERSION_2; in cgi_create_env()
1035 else if (!hctx->conf.upgrade || r->http_version != HTTP_VERSION_1_1) { in URIHANDLER_FUNC()
H A Dmod_expire.c288 if (r->http_version > HTTP_VERSION_1_0) { in mod_expire_set_header()
H A Dhttp_range.c357 if (r->http_version < HTTP_VERSION_1_1) in http_range_rfc7233()
H A Dhttp_cgi.c227 s = get_http_version_name(r->http_version); in http_cgi_headers()
H A Dmod_accesslog.c946 http_version_append(b, r->http_version); in log_access_record()
965 http_version_append(b, r->http_version); in log_access_record()
H A Dmod_maxminddb.c474 if (*hctx && r->http_version <= HTTP_VERSION_1_1) { in REQUEST_FUNC()
H A Dhttp_header.c271 if (r->http_version >= HTTP_VERSION_2) { in http_header_response_insert_addtl()
H A Dh2.c2797 r->http_version = HTTP_VERSION_2; in h2_init_stream()
3032 if (r->http_version != HTTP_VERSION_1_1) { in h2_check_con_upgrade_h2c()
3057 r->http_version = HTTP_VERSION_2; in h2_check_con_upgrade_h2c()
3073 return (r->http_version == HTTP_VERSION_2); in h2_check_con_upgrade_h2c()
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 Dmod_ajp13.c586 const char * const proto = get_http_version_name(r->http_version); in ajp13_create_env()
H A Dmod_magnet.c1684 if (r->http_version >= HTTP_VERSION_2) { in magnet_resphdr_set_kv()
1977 http_version_append(dest, r->http_version); in magnet_env_get_buffer_by_id()
H A Dmod_mbedtls.c1194 hctx->r->http_version = HTTP_VERSION_2; in mod_mbedtls_alpn_selected()
1240 hctx->r->http_version = HTTP_VERSION_2; in mod_mbedtls_alpn_select_cb()
H A Dmod_openssl.c1890 hctx->r->http_version = HTTP_VERSION_2; in mod_openssl_alpn_select_cb()
3155 if (hctx->r->http_version < HTTP_VERSION_2 in connection_read_cq_ssl()
H A Dmod_gnutls.c1423 hctx->r->http_version = HTTP_VERSION_2; in mod_gnutls_ALPN()
/lighttpd1.4/src/t/
H A Dtest_request.c15 r->http_version = HTTP_VERSION_UNSET; in test_request_reset()
H A Dtest_mod_staticfile.c398 r.http_version = HTTP_VERSION_1_1; in test_mod_staticfile()

12