| /src/external/bsd/libevent/dist/test/ |
| bench_http.c | 49 #include "event2/http.h" 90 struct evhttp *http; local 163 http = evhttp_new(base); 175 evhttp_set_cb(http, "/ind", http_basic_cb, NULL); 178 evhttp_set_cb(http, "/ref", http_ref_cb, NULL); 185 evhttp_bind_socket(http, "0.0.0.0", port);
|
| regress_rpc.c | 64 #include "event2/http.h" 144 struct evhttp *http = NULL; local 147 http = http_setup(&port); 148 base = evrpc_init(http); 153 *phttp = http; 191 struct evhttp *http = NULL; local 196 rpc_setup(&http, &port, &base); 202 * At this point, we want to schedule an HTTP POST request 230 evhttp_free(http); 260 struct evhttp *http = NULL local 452 struct evhttp *http = NULL; local 538 struct evhttp *http = NULL; local 638 struct evhttp *http = NULL; local 690 struct evhttp *http = NULL; local 890 struct evhttp *http = NULL; local [all...] |
| regress_http.c | 62 #include "event2/http.h" 69 #include "http-internal.h" 520 struct evhttp *http = http_setup(&port, data->base, server_flags); local 526 if (http_bind(http, &port2, server_flags) == -1) { 539 /* first half of the http request */ 580 "GET http://somehost.net/test HTTP/1.1\r\n" 591 evhttp_free(http); 597 { http_basic_test_impl(arg, 0, "GET /test HTTP/1.1"); } 599 { http_basic_test_impl(arg, 0, "GET /test HTTP/1.1 "); 697 struct evhttp *http = http_setup(&port, data->base, 0); local 819 struct evhttp *http = http_setup(&port, data->base, 0); local 903 struct evhttp *http = http_setup(&port, data->base, 0); local 964 struct evhttp *http = http_setup(&port, data->base, 0); local 1072 struct evhttp *http; local 1201 struct evhttp *http = http_setup(&port, data->base, 0); local 1292 struct evhttp *http = http_setup(&port, data->base, 0); local 1474 struct evhttp *http = http_setup(&port, data->base, 0); local 1677 struct evhttp *http = http_setup(&port, data->base, 0); local 1928 struct evhttp *http = http_setup(&port, data->base, 0); local 1977 struct evhttp *http = http_setup(&port, data->base, 0); local 2116 struct evhttp *http = http_setup(&port, data->base, 0); local 2241 struct evhttp *http = http_setup(&port, data->base, 0); local 2331 struct evhttp *http = http_setup(&port, data->base, 0); local 3028 struct evhttp *http; local 3115 struct evhttp *http = http_setup(&port, data->base, ssl ? HTTP_BIND_SSL : 0); local 3334 struct evhttp *http = http_setup(&port, data->base, ssl ? HTTP_BIND_SSL : 0); local 3411 struct evhttp *http = http_setup(&port, data->base, ssl ? HTTP_BIND_SSL : 0); local 3484 struct evhttp *http = http_setup(&port, data->base, 0); local 3556 struct evhttp *http = http_setup(&port, data->base, 0); local 3608 struct evhttp *http = http_setup(&port, data->base, ssl ? HTTP_BIND_SSL : 0); local 3665 struct evhttp *http; member in struct:http_server 3683 struct evhttp *http = http_setup(&hs.port, data->base, ssl ? HTTP_BIND_SSL : 0); local 3727 struct evhttp *http = http_setup(&hs.port, data->base, ssl ? HTTP_BIND_SSL : 0); local 3922 struct evhttp *http = http_setup(&port, data->base, 0); local 3986 struct evhttp *http = http_setup(&port, data->base, 0); local 4054 struct evhttp *http = http_setup(&port, data->base, 0); local 4171 struct evhttp *http = http_setup(&port, data->base, 0); local 4324 struct evhttp *http = http_setup(&port, data->base, 0); local 4447 struct evhttp *http = http_setup(&port, data->base, 0); local 4516 struct evhttp *http = http_setup(&port, data->base, ssl ? HTTP_BIND_SSL : 0); local 4555 struct evhttp *http = http_setup(&port, data->base, 0); local 4621 struct evhttp *http = local [all...] |
| /src/external/bsd/ntp/dist/sntp/libevent/test/ |
| bench_http.c | 50 #include "event2/http.h" 91 struct evhttp *http; local 164 http = evhttp_new(base); 176 evhttp_set_cb(http, "/ind", http_basic_cb, NULL); 179 evhttp_set_cb(http, "/ref", http_ref_cb, NULL); 186 evhttp_bind_socket(http, "0.0.0.0", port);
|
| regress_rpc.c | 62 #include "event2/http.h" 142 struct evhttp *http = NULL; local 145 http = http_setup(&port); 146 base = evrpc_init(http); 151 *phttp = http; 189 struct evhttp *http = NULL; local 194 rpc_setup(&http, &port, &base); 200 * At this point, we want to schedule an HTTP POST request 228 evhttp_free(http); 258 struct evhttp *http = NULL local 450 struct evhttp *http = NULL; local 536 struct evhttp *http = NULL; local 636 struct evhttp *http = NULL; local 688 struct evhttp *http = NULL; local 888 struct evhttp *http = NULL; local [all...] |
| regress_http.c | 60 #include "event2/http.h" 67 #include "http-internal.h" 517 struct evhttp *http = http_setup(&port, data->base, server_flags); local 523 if (http_bind(http, &port2, server_flags) == -1) { 536 /* first half of the http request */ 577 "GET http://somehost.net/test HTTP/1.1\r\n" 588 evhttp_free(http); 594 { http_basic_test_impl(arg, 0, "GET /test HTTP/1.1"); } 596 { http_basic_test_impl(arg, 0, "GET /test HTTP/1.1 "); 694 struct evhttp *http = http_setup(&port, data->base, 0); local 816 struct evhttp *http = http_setup(&port, data->base, 0); local 900 struct evhttp *http = http_setup(&port, data->base, 0); local 961 struct evhttp *http = http_setup(&port, data->base, 0); local 1069 struct evhttp *http; local 1198 struct evhttp *http = http_setup(&port, data->base, 0); local 1289 struct evhttp *http = http_setup(&port, data->base, 0); local 1471 struct evhttp *http = http_setup(&port, data->base, 0); local 1674 struct evhttp *http = http_setup(&port, data->base, 0); local 1925 struct evhttp *http = http_setup(&port, data->base, 0); local 1974 struct evhttp *http = http_setup(&port, data->base, 0); local 2113 struct evhttp *http = http_setup(&port, data->base, 0); local 2238 struct evhttp *http = http_setup(&port, data->base, 0); local 2328 struct evhttp *http = http_setup(&port, data->base, 0); local 3025 struct evhttp *http; local 3112 struct evhttp *http = http_setup(&port, data->base, ssl ? HTTP_BIND_SSL : 0); local 3331 struct evhttp *http = http_setup(&port, data->base, ssl ? HTTP_BIND_SSL : 0); local 3408 struct evhttp *http = http_setup(&port, data->base, ssl ? HTTP_BIND_SSL : 0); local 3481 struct evhttp *http = http_setup(&port, data->base, 0); local 3553 struct evhttp *http = http_setup(&port, data->base, 0); local 3605 struct evhttp *http = http_setup(&port, data->base, ssl ? HTTP_BIND_SSL : 0); local 3662 struct evhttp *http; member in struct:http_server 3680 struct evhttp *http = http_setup(&hs.port, data->base, ssl ? HTTP_BIND_SSL : 0); local 3724 struct evhttp *http = http_setup(&hs.port, data->base, ssl ? HTTP_BIND_SSL : 0); local 3885 struct evhttp *http = NULL; local 3919 struct evhttp *http = http_setup(&port, data->base, 0); local 3983 struct evhttp *http = http_setup(&port, data->base, 0); local 4051 struct evhttp *http = http_setup(&port, data->base, 0); local 4168 struct evhttp *http = http_setup(&port, data->base, 0); local 4321 struct evhttp *http = http_setup(&port, data->base, 0); local 4444 struct evhttp *http = http_setup(&port, data->base, 0); local 4513 struct evhttp *http = http_setup(&port, data->base, ssl ? HTTP_BIND_SSL : 0); local 4552 struct evhttp *http = http_setup(&port, data->base, 0); local 4614 struct evhttp *http = local [all...] |
| /src/external/bsd/wpa/dist/src/utils/ |
| browser-android.c | 67 struct http_server *http; local 81 http = http_server_init(&addr, 12345, http_req, &data); 82 if (http == NULL) { 91 http_server_deinit(http); 117 http_server_deinit(http);
|
| browser-system.c | 67 struct http_server *http; local 81 http = http_server_init(&addr, 12345, http_req, &data); 82 if (http == NULL) { 91 http_server_deinit(http); 113 http_server_deinit(http);
|
| browser-wpadebug.c | 55 wpabuf_put_str(resp, "HTTP/1.1\r\n\r\nUser input completed"); 68 struct http_server *http; local 82 http = http_server_init(&addr, 12345, http_req, &data); 83 if (http == NULL) { 92 http_server_deinit(http); 126 http_server_deinit(http);
|
| http_curl.c | 2 * HTTP wrapper for libcurl 28 #include "http-utils.h" 1339 wpa_printf(MSG_DEBUG, "Start HTTP client: address=%s ca_fname=%s " 1407 * 'foo' provided via HTTP are different. 1488 long http = 0; local 1513 curl_easy_getinfo(ctx->curl, CURLINFO_RESPONSE_CODE, &http); 1514 wpa_printf(MSG_DEBUG, "SOAP: Server response code %ld", http); 1515 if (http != 200) { 1516 ctx->last_err = "HTTP download failed"; 1517 wpa_printf(MSG_INFO, "HTTP download failed - code %ld", http) 1601 long http = 0; local 1668 long http = 0; local [all...] |
| /src/external/bsd/wpa/dist/hs20/client/ |
| osu_client.h | 12 #define SPP_NS_URI "http://www.wi-fi.org/specifications/hotspot2dot0/v1.0/spp" 29 struct http_ctx *http; member in struct:hs20_osu_client
|
| /src/external/bsd/wpa/dist/src/wps/ |
| wps_er.h | 29 struct http_client *http; member in struct:wps_er_sta 39 struct http_client *http; member in struct:wps_er_ap
|
| /src/external/gpl2/gettext/dist/gettext-runtime/libasprintf/ |
| texi2html | 46 $HOMEPAGE = "http://wwwinfo.cern.ch/dis/texi2html/"; # program home page 1895 <META HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8"> 2118 http://wwwinfo.cern.ch/dis/texi2html/ label
|
| /src/external/gpl2/gettext/dist/gettext-tools/doc/ |
| texi2html | 46 $HOMEPAGE = "http://wwwinfo.cern.ch/dis/texi2html/"; # program home page 1895 <META HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8"> 2118 http://wwwinfo.cern.ch/dis/texi2html/ label
|
| /src/external/bsd/libevent/dist/sample/ |
| http-server.c | 1 /* $NetBSD: http-server.c,v 1.1.1.4 2021/04/07 02:43:15 christos Exp $ */ 3 A trivial static http webserver using Libevent's evhttp. 47 #include <event2/http.h> 178 /* This callback gets invoked when we get any http request that doesn't match 437 "http://%s:%d",addr,got_port); 451 struct evhttp *http = NULL; local 499 http = evhttp_new(base); 500 if (!http) { 506 evhttp_set_cb(http, "/dump", dump_request_cb, NULL); 510 evhttp_set_gencb(http, send_document_cb, &o) [all...] |
| /src/external/bsd/unbound/dist/services/ |
| authzone.h | 315 * potential, HTTP probe query) and check serial number. 451 /** for http, filename */ 453 /** use HTTP for this master */ 454 int http; member in struct:auth_master 474 * packets. also for an AXFR. For HTTP a zonefile chunk. */ 673 * @param with_http: if true, http urls are also included, before the masters. 688 /** callback for task_transfer http connections */
|
| /src/external/mpl/bind/dist/lib/dns/ |
| rdata.c | 2550 * HTTP entries from: 2558 } http[] = { { 8, "http/0.9" }, { 8, "http/1.0" }, { 8, "http/1.1" }, local 2561 for (size_t i = 0; i < ARRAY_SIZE(http); i++) { 2562 if (len == http[i].len && memcmp(s, http[i].value, len) == 0) { 2578 * This has to detect "http/1.1", "h2" and "h3", etc.
|
| /src/external/bsd/libevent/dist/ |
| http.c | 1 /* $NetBSD: http.c,v 1.5 2021/04/07 03:36:48 christos Exp $ */ 32 __RCSID("$NetBSD: http.c,v 1.5 2021/04/07 03:36:48 christos Exp $"); 105 #include "event2/http.h" 115 #include "http-internal.h" 211 static int evhttp_find_vhost(struct evhttp *http, struct evhttp **outhttp, 310 * equivalent HTTP command, or NULL if the evhttp_command_type is 407 "HTTP/%d.%d 100 Continue\r\n\r\n", 437 /* Create the headers needed for an outgoing HTTP request, adds them to 455 "%s %s HTTP/%d.%d\r\n", 531 * Create the headers needed for an HTTP reply in req->output_headers 1246 struct evhttp *http = evcon->http_server; local 3471 struct evhttp *http = arg; local 3547 struct evhttp *http = arg; local 3674 struct evhttp *http = NULL; local 3704 struct evhttp *http = NULL; local 3721 struct evhttp *http = NULL; local 4292 struct evhttp *http = evcon->http_server; local [all...] |
| /src/external/bsd/ntp/dist/sntp/libevent/ |
| http.c | 1 /* $NetBSD: http.c,v 1.7 2024/08/18 20:47:21 christos Exp $ */ 103 #include "event2/http.h" 113 #include "http-internal.h" 209 static int evhttp_find_vhost(struct evhttp *http, struct evhttp **outhttp, 308 * equivalent HTTP command, or NULL if the evhttp_command_type is 405 "HTTP/%d.%d 100 Continue\r\n\r\n", 435 /* Create the headers needed for an outgoing HTTP request, adds them to 453 "%s %s HTTP/%d.%d\r\n", 529 * Create the headers needed for an HTTP reply in req->output_headers, 530 * and write the first HTTP response for req line to evcon 1244 struct evhttp *http = evcon->http_server; local 3469 struct evhttp *http = arg; local 3545 struct evhttp *http = arg; local 3672 struct evhttp *http = NULL; local 3702 struct evhttp *http = NULL; local 3719 struct evhttp *http = NULL; local 4290 struct evhttp *http = evcon->http_server; local [all...] |
| /src/external/mpl/bind/dist/lib/isc/netmgr/ |
| http.c | 1 /* $NetBSD: http.c,v 1.7 2026/04/08 00:16:16 christos Exp $ */ 41 * See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control 51 * configurable both globally and per every HTTP endpoint description 753 * the socket gets marked as inactive, allowing the HTTP/2 data 756 * An HTTP/2 stream socket will normally be marked as inactive in 758 * HTTP/2 streams prematurely (e.g. by sending RST_STREAM), 760 * references to the HTTP/2 data (most notably the session objects), 998 * Send HTTP request to the remote peer. 1186 "Dropping a flooding HTTP/2 peer " 1233 * for any practical purposes. Not to mention that HTTP/2 ma 2255 const char http[] = "http"; local [all...] |
| /src/external/mpl/bind/dist/bin/named/ |
| server.c | 461 listenelt_http(const cfg_obj_t *http, const uint16_t family, bool tls, 8574 result = named_config_get(maps, "http-port", &obj); 8584 result = named_config_get(maps, "http-listener-clients", &obj); 8589 result = named_config_get(maps, "http-streams-per-connection", &obj); 11423 bool do_tls = false, no_tls = false, http = false; 11551 httpobj = cfg_tuple_get(ltup, "http"); 11559 http_server = find_maplist(config, "http", httpname); 11563 "http '%s' is not defined", 11568 http = true; 11573 if (http && do_tls) 11436 bool do_tls = false, no_tls = false, http = false; local [all...] |