| /libevent-2.1.12/include/event2/ |
| H A D | http.h | 134 int evhttp_accept_socket(struct evhttp *http, evutil_socket_t fd); 216 void evhttp_free(struct evhttp* http); 234 void evhttp_set_default_content_type(struct evhttp *http, 261 int evhttp_set_cb(struct evhttp *http, const char *path, 280 void evhttp_set_gencb(struct evhttp *http, 298 void evhttp_set_bevcb(struct evhttp *http, 324 int evhttp_add_virtual_host(struct evhttp* http, const char *pattern, 347 int evhttp_add_server_alias(struct evhttp *http, const char *alias); 357 int evhttp_remove_server_alias(struct evhttp *http, const char *alias); 366 void evhttp_set_timeout(struct evhttp *http, int timeout_in_secs); [all …]
|
| /libevent-2.1.12/ |
| H A D | http.c | 3447 oldhttp = http; in evhttp_find_vhost() 3451 http = vhost; in evhttp_find_vhost() 3459 *outhttp = http; in evhttp_find_vhost() 3491 evhttp_find_vhost(http, &http, hostname); in evhttp_handle_request() 3501 (*http->gencb)(req, http->gencbarg); in evhttp_handle_request() 3694 return (http); in evhttp_new_object() 3707 return (http); in evhttp_new() 3723 mm_free(http); in evhttp_start() 3727 return (http); in evhttp_start() 3774 mm_free(http); in evhttp_free() [all …]
|
| /libevent-2.1.12/test/ |
| H A D | regress_rpc.c | 149 *phttp = http; in rpc_setup() 226 evhttp_free(http); in rpc_basic_test() 304 evhttp_free(http); in rpc_basic_message() 519 if (http) in rpc_basic_client() 520 evhttp_free(http); in rpc_basic_client() 575 if (http) in rpc_basic_queued_client() 576 evhttp_free(http); in rpc_basic_queued_client() 678 if (http) in rpc_basic_client_with_pause() 679 evhttp_free(http); in rpc_basic_client_with_pause() 729 if (http) in rpc_client_timeout() [all …]
|
| H A D | regress_http.c | 1166 if (http) in http_connection_test_() 1273 if (http) in http_connection_async_test() 1330 if (http) in http_autofree_connection_test() 1594 if (http) in http_cancel_test() 1816 if (http) in http_virtual_host_test() 1953 if (http) in http_dispatcher_test() 2366 if (http) in http_close_detection_() 3392 if (http) in http_chunk_out_test_impl() 3438 if (http) in http_stream_out_test_impl() 3513 if (http) in http_stream_in_test_() [all …]
|
| H A D | bench_http.c | 89 struct evhttp *http; in main() local 162 http = evhttp_new(base); in main() 174 evhttp_set_cb(http, "/ind", http_basic_cb, NULL); in main() 177 evhttp_set_cb(http, "/ref", http_ref_cb, NULL); in main() 184 evhttp_bind_socket(http, "0.0.0.0", port); in main()
|
| /libevent-2.1.12/test-export/ |
| H A D | test-export.c | 19 struct evhttp *http = NULL; in test() local 25 http = evhttp_new(base); in test() 29 if (http) in test() 30 rpc_base = evrpc_init(http); in test() 34 if (http) in test() 35 evhttp_free(http); in test()
|
| H A D | test-export.c | 19 struct evhttp *http = NULL; in test() local 25 http = evhttp_new(base); in test() 29 if (http) in test() 30 rpc_base = evrpc_init(http); in test() 34 if (http) in test() 35 evhttp_free(http); in test()
|
| H A D | test-export.c | 19 struct evhttp *http = NULL; in test() local 25 http = evhttp_new(base); in test() 29 if (http) in test() 30 rpc_base = evrpc_init(http); in test() 34 if (http) in test() 35 evhttp_free(http); in test()
|
| H A D | test-export.c | 19 struct evhttp *http = NULL; in test() local 25 http = evhttp_new(base); in test() 29 if (http) in test() 30 rpc_base = evrpc_init(http); in test() 34 if (http) in test() 35 evhttp_free(http); in test()
|
| H A D | test-export.c | 19 struct evhttp *http = NULL; in test() local 25 http = evhttp_new(base); in test() 29 if (http) in test() 30 rpc_base = evrpc_init(http); in test() 34 if (http) in test() 35 evhttp_free(http); in test()
|
| H A D | test-export.c | 19 struct evhttp *http = NULL; in test() local 25 http = evhttp_new(base); in test() 29 if (http) in test() 30 rpc_base = evrpc_init(http); in test() 34 if (http) in test() 35 evhttp_free(http); in test()
|
| H A D | test-export.c | 19 struct evhttp *http = NULL; in test() local 25 http = evhttp_new(base); in test() 29 if (http) in test() 30 rpc_base = evrpc_init(http); in test() 34 if (http) in test() 35 evhttp_free(http); in test()
|
| H A D | test-export.c | 19 struct evhttp *http = NULL; in test() local 25 http = evhttp_new(base); in test() 29 if (http) in test() 30 rpc_base = evrpc_init(http); in test() 34 if (http) in test() 35 evhttp_free(http); in test()
|
| H A D | test-export.c | 19 struct evhttp *http = NULL; in test() local 25 http = evhttp_new(base); in test() 29 if (http) in test() 30 rpc_base = evrpc_init(http); in test() 34 if (http) in test() 35 evhttp_free(http); in test()
|
| H A D | test-export.c | 19 struct evhttp *http = NULL; in test() local 25 http = evhttp_new(base); in test() 29 if (http) in test() 30 rpc_base = evrpc_init(http); in test() 34 if (http) in test() 35 evhttp_free(http); in test()
|
| H A D | test-export.c | 19 struct evhttp *http = NULL; in test() local 25 http = evhttp_new(base); in test() 29 if (http) in test() 30 rpc_base = evrpc_init(http); in test() 34 if (http) in test() 35 evhttp_free(http); in test()
|
| H A D | test-export.c | 19 struct evhttp *http = NULL; in test() local 25 http = evhttp_new(base); in test() 29 if (http) in test() 30 rpc_base = evrpc_init(http); in test() 34 if (http) in test() 35 evhttp_free(http); in test()
|
| H A D | test-export.c | 19 struct evhttp *http = NULL; in test() local 25 http = evhttp_new(base); in test() 29 if (http) in test() 30 rpc_base = evrpc_init(http); in test() 34 if (http) in test() 35 evhttp_free(http); in test()
|
| H A D | test-export.c | 19 struct evhttp *http = NULL; in test() local 25 http = evhttp_new(base); in test() 29 if (http) in test() 30 rpc_base = evrpc_init(http); in test() 34 if (http) in test() 35 evhttp_free(http); in test()
|
| H A D | test-export.c | 19 struct evhttp *http = NULL; in test() local 25 http = evhttp_new(base); in test() 29 if (http) in test() 30 rpc_base = evrpc_init(http); in test() 34 if (http) in test() 35 evhttp_free(http); in test()
|
| H A D | test-export.c | 19 struct evhttp *http = NULL; in test() local 25 http = evhttp_new(base); in test() 29 if (http) in test() 30 rpc_base = evrpc_init(http); in test() 34 if (http) in test() 35 evhttp_free(http); in test()
|
| H A D | test-export.c | 19 struct evhttp *http = NULL; in test() local 25 http = evhttp_new(base); in test() 29 if (http) in test() 30 rpc_base = evrpc_init(http); in test() 34 if (http) in test() 35 evhttp_free(http); in test()
|
| H A D | test-export.c | 19 struct evhttp *http = NULL; in test() local 25 http = evhttp_new(base); in test() 29 if (http) in test() 30 rpc_base = evrpc_init(http); in test() 34 if (http) in test() 35 evhttp_free(http); in test()
|
| /libevent-2.1.12/sample/ |
| H A D | include.am | 11 sample/http-server \ 12 sample/http-connect \ 53 sample_http_server_SOURCES = sample/http-server.c 55 sample_http_connect_SOURCES = sample/http-connect.c
|
| H A D | http-server.c | 450 struct evhttp *http = NULL; in main() local 498 http = evhttp_new(base); in main() 499 if (!http) { in main() 505 evhttp_set_cb(http, "/dump", dump_request_cb, NULL); in main() 509 evhttp_set_gencb(http, send_document_cb, &o); in main() 533 handle = evhttp_bind_listener(http, lev); in main() 546 handle = evhttp_bind_socket_with_handle(http, "0.0.0.0", o.port); in main() 574 if (http) in main() 575 evhttp_free(http); in main()
|