Searched defs:myhttp (Results 1 - 2 of 2) sorted by relevance

/external/chromium/third_party/libevent/test/
H A Dregress_rpc.c71 struct evhttp *myhttp; local
76 myhttp = evhttp_start("127.0.0.1", 8080 + i);
77 if (myhttp != NULL) {
87 return (myhttp);
H A Dregress_http.c79 struct evhttp *myhttp; local
83 myhttp = evhttp_new(base);
85 if (evhttp_bind_socket(myhttp, "127.0.0.1", 8080 + i) != -1) {
95 evhttp_set_cb(myhttp, "/test", http_basic_cb, NULL);
96 evhttp_set_cb(myhttp, "/chunked", http_chunked_cb, NULL);
97 evhttp_set_cb(myhttp, "/postit", http_post_cb, NULL);
98 evhttp_set_cb(myhttp, "/largedelay", http_large_delay_cb, NULL);
99 evhttp_set_cb(myhttp, "/", http_dispatcher_cb, NULL);
102 return (myhttp);
966 struct evhttp *myhttp local
[all...]

Completed in 65 milliseconds