/freebsd/contrib/ntp/sntp/libevent/sample/ |
H A D | http-connect.c | 83 evhttp_add_header(req->output_headers, "Connection", "close"); in connect_cb() 84 evhttp_add_header(req->output_headers, "Host", evhttp_uri_get_host(location)); in connect_cb() 118 evhttp_add_header(req->output_headers, "Connection", "keep-alive"); in main() 119 evhttp_add_header(req->output_headers, "Proxy-Connection", "keep-alive"); in main() 120 evhttp_add_header(req->output_headers, "Host", hostport); in main()
|
H A D | https-client.c | 472 evhttp_add_header(output_headers, "Host", host); in main() 473 evhttp_add_header(output_headers, "Connection", "close"); in main() 495 evhttp_add_header(output_headers, "Content-Length", buf); in main()
|
H A D | http-server.c | 307 evhttp_add_header(evhttp_request_get_output_headers(req), in send_document_cb() 324 evhttp_add_header(evhttp_request_get_output_headers(req), in send_document_cb()
|
/freebsd/contrib/libevent/sample/ |
H A D | http-connect.c | 83 evhttp_add_header(req->output_headers, "Connection", "close"); in connect_cb() 84 evhttp_add_header(req->output_headers, "Host", evhttp_uri_get_host(location)); in connect_cb() 118 evhttp_add_header(req->output_headers, "Connection", "keep-alive"); in main() 119 evhttp_add_header(req->output_headers, "Proxy-Connection", "keep-alive"); in main() 120 evhttp_add_header(req->output_headers, "Host", hostport); in main()
|
H A D | https-client.c | 472 evhttp_add_header(output_headers, "Host", host); in main() 473 evhttp_add_header(output_headers, "Connection", "close"); in main() 495 evhttp_add_header(output_headers, "Content-Length", buf); in main()
|
H A D | http-server.c | 307 evhttp_add_header(evhttp_request_get_output_headers(req), in send_document_cb() 324 evhttp_add_header(evhttp_request_get_output_headers(req), in send_document_cb()
|
/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | regress_http.c | 370 evhttp_add_header(evhttp_request_get_output_headers(req), in http_basic_cb() 452 evhttp_add_header(evhttp_request_get_output_headers(req), "Content-Length", "39"); in http_chunked_cb() 623 …evhttp_add_header(evhttp_request_get_output_headers(req), "Content-Type", "text/xml; charset=UTF-8… in http_badreq_cb() 1114 evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); in http_connection_test_() 1132 evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); in http_connection_test_() 1139 evhttp_add_header(evhttp_request_get_output_headers(req), "Connection", "close"); in http_connection_test_() 1154 evhttp_add_header(evhttp_request_get_output_headers(req), "Empty", "itis"); in http_connection_test_() 1222 evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); in http_connection_async_test() 1240 evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); in http_connection_async_test() 1246 evhttp_add_header(evhttp_request_get_output_headers(req), "Connection", "close"); in http_connection_async_test() [all …]
|
H A D | regress_rpc.c | 206 evhttp_add_header(req->output_headers, "Host", "somehost"); in rpc_basic_test() 279 evhttp_add_header(req->output_headers, "Host", "somehost"); in rpc_basic_message() 401 evhttp_add_header(req->input_headers, "X-Hook", hook_type); in rpc_hook_add_header() 403 evhttp_add_header(req->output_headers, "X-Hook", hook_type); in rpc_hook_add_header() 433 evhttp_add_header(req->input_headers, "X-Pool-Hook", "ran"); in rpc_hook_remove_header() 905 evhttp_add_header(req->output_headers, "Host", "somehost"); in rpc_invalid_type()
|
/freebsd/contrib/libevent/test/ |
H A D | regress_http.c | 370 evhttp_add_header(evhttp_request_get_output_headers(req), in http_basic_cb() 452 evhttp_add_header(evhttp_request_get_output_headers(req), "Content-Length", "39"); in http_chunked_cb() 623 …evhttp_add_header(evhttp_request_get_output_headers(req), "Content-Type", "text/xml; charset=UTF-8… in http_badreq_cb() 1114 evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); in http_connection_test_() 1132 evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); in http_connection_test_() 1139 evhttp_add_header(evhttp_request_get_output_headers(req), "Connection", "close"); in http_connection_test_() 1154 evhttp_add_header(evhttp_request_get_output_headers(req), "Empty", "itis"); in http_connection_test_() 1222 evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); in http_connection_async_test() 1240 evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); in http_connection_async_test() 1246 evhttp_add_header(evhttp_request_get_output_headers(req), "Connection", "close"); in http_connection_async_test() [all …]
|
H A D | regress_rpc.c | 206 evhttp_add_header(req->output_headers, "Host", "somehost"); in rpc_basic_test() 279 evhttp_add_header(req->output_headers, "Host", "somehost"); in rpc_basic_message() 401 evhttp_add_header(req->input_headers, "X-Hook", hook_type); in rpc_hook_add_header() 403 evhttp_add_header(req->output_headers, "X-Hook", hook_type); in rpc_hook_add_header() 433 evhttp_add_header(req->input_headers, "X-Pool-Hook", "ran"); in rpc_hook_remove_header() 905 evhttp_add_header(req->output_headers, "Host", "somehost"); in rpc_invalid_type()
|
/freebsd/contrib/ntp/sntp/libevent/ |
H A D | http.c | 460 evhttp_add_header(req->output_headers, "Content-Length", size); in evhttp_make_header_request() 506 evhttp_add_header(headers, "Date", date); in evhttp_maybe_add_date_header() 522 evhttp_add_header(headers, "Content-Length", len); in evhttp_maybe_add_content_length_header() 549 evhttp_add_header(req->output_headers, in evhttp_make_header_response() 570 evhttp_add_header(req->output_headers, in evhttp_make_header_response() 580 evhttp_add_header(req->output_headers, "Connection", "close"); in evhttp_make_header_response() 1969 evhttp_add_header(struct evkeyvalq *headers, in evhttp_add_header() function 2139 if (evhttp_add_header(headers, skey, svalue) == -1) in evhttp_parse_headers_() 2883 evhttp_add_header(req->output_headers, "Transfer-Encoding", in evhttp_send_reply_start() 3073 evhttp_add_header(req->output_headers, "Content-Type", "text/html"); in evhttp_send_page_() [all …]
|
H A D | evrpc.c | 486 evhttp_add_header(req->output_headers, in evrpc_request_done_closure()
|
/freebsd/contrib/libevent/ |
H A D | http.c | 460 evhttp_add_header(req->output_headers, "Content-Length", size); in evhttp_make_header_request() 506 evhttp_add_header(headers, "Date", date); in evhttp_maybe_add_date_header() 522 evhttp_add_header(headers, "Content-Length", len); in evhttp_maybe_add_content_length_header() 549 evhttp_add_header(req->output_headers, in evhttp_make_header_response() 570 evhttp_add_header(req->output_headers, in evhttp_make_header_response() 580 evhttp_add_header(req->output_headers, "Connection", "close"); in evhttp_make_header_response() 1969 evhttp_add_header(struct evkeyvalq *headers, in evhttp_add_header() function 2139 if (evhttp_add_header(headers, skey, svalue) == -1) in evhttp_parse_headers_() 2883 evhttp_add_header(req->output_headers, "Transfer-Encoding", in evhttp_send_reply_start() 3073 evhttp_add_header(req->output_headers, "Content-Type", "text/html"); in evhttp_send_page_() [all …]
|
H A D | evrpc.c | 486 evhttp_add_header(req->output_headers, in evrpc_request_done_closure()
|
/freebsd/contrib/ntp/sntp/libevent/include/event2/ |
H A D | http.h | 887 int evhttp_add_header(struct evkeyvalq *headers, const char *key, const char *value);
|
/freebsd/contrib/libevent/include/event2/ |
H A D | http.h | 887 int evhttp_add_header(struct evkeyvalq *headers, const char *key, const char *value);
|