| /lighttpd1.4/src/ |
| H A D | response.c | 109 && 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 D | connections.c | 180 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 D | request.c | 478 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 D | reqpool.c | 53 r->http_version = HTTP_VERSION_UNSET; in request_init_data() 93 r->http_version = HTTP_VERSION_UNSET; in request_reset()
|
| H A D | http-header-glue.c | 641 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 D | mod_wstunnel.c | 351 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 D | mod_sockproxy.c | 164 r->http_version = HTTP_VERSION_UNSET; in mod_sockproxy_connection_accept()
|
| H A D | request.h | 133 http_version_t http_version; member
|
| H A D | mod_proxy.c | 929 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 D | mod_cgi.c | 837 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 D | mod_expire.c | 288 if (r->http_version > HTTP_VERSION_1_0) { in mod_expire_set_header()
|
| H A D | http_range.c | 357 if (r->http_version < HTTP_VERSION_1_1) in http_range_rfc7233()
|
| H A D | http_cgi.c | 227 s = get_http_version_name(r->http_version); in http_cgi_headers()
|
| H A D | mod_accesslog.c | 946 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 D | mod_maxminddb.c | 474 if (*hctx && r->http_version <= HTTP_VERSION_1_1) { in REQUEST_FUNC()
|
| H A D | http_header.c | 271 if (r->http_version >= HTTP_VERSION_2) { in http_header_response_insert_addtl()
|
| H A D | h2.c | 2797 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 D | mod_status.c | 179 buffer_append_int(b, (r->http_version <= HTTP_VERSION_1_1 || r->h2id) in mod_status_html_rtable_r()
|
| H A D | mod_ajp13.c | 586 const char * const proto = get_http_version_name(r->http_version); in ajp13_create_env()
|
| H A D | mod_magnet.c | 1684 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 D | mod_mbedtls.c | 1194 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 D | mod_openssl.c | 1890 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 D | mod_gnutls.c | 1423 hctx->r->http_version = HTTP_VERSION_2; in mod_gnutls_ALPN()
|
| /lighttpd1.4/src/t/ |
| H A D | test_request.c | 15 r->http_version = HTTP_VERSION_UNSET; in test_request_reset()
|
| H A D | test_mod_staticfile.c | 398 r.http_version = HTTP_VERSION_1_1; in test_mod_staticfile()
|