• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libevent-1.4.14b-stable/test/

Lines Matching refs:http

58 #include "http-internal.h"
63 static struct evhttp *http;
318 http = http_setup(&port, NULL);
321 if (evhttp_bind_socket(http, "127.0.0.1", port + 1) == -1) {
332 /* first half of the http request */
372 evhttp_free(http);
464 http = http_setup(&port, NULL);
467 if (evhttp_bind_socket(http, "127.0.0.1", port + 1) == -1) {
508 /* first half of the http request */
522 evhttp_free(http);
570 http = http_setup(&port, NULL);
646 evhttp_free(http);
773 http = http_setup(&port, NULL);
806 evhttp_free(http);
834 http = http_setup(&port, NULL);
865 evhttp_free(http);
970 http = http_setup(&port, NULL);
987 evhttp_free(http);
1010 tv.tv_sec = 3; /* longer than the http time out */
1046 tv.tv_sec = 3; /* longer than the http time out */
1064 http = http_setup(&port, NULL);
1067 evhttp_set_timeout(http, 2);
1101 /* at this point, the http server should have no connection */
1102 if (TAILQ_FIRST(&http->connections) != NULL) {
1108 evhttp_free(http);
1192 evhttp_parse_query("http://www.test.com/?q=test", &headers);
1197 evhttp_parse_query("http://www.test.com/?q=test&foo=bar", &headers);
1204 evhttp_parse_query("http://www.test.com/?q=test+foo", &headers);
1209 evhttp_parse_query("http://www.test.com/?q=test%0Afoo", &headers);
1214 evhttp_parse_query("http://www.test.com/?q=test%0Dfoo", &headers);
1245 http = http_setup(&port, base);
1267 evhttp_free(http);
1432 http = http_setup(&port, NULL);
1498 evhttp_free(http);
1514 http = http_setup(&port, NULL);
1539 evhttp_free(http);
1571 http = http_setup(&port, NULL);
1597 evhttp_free(http);
1683 http = http_setup(&port, NULL);
1684 evhttp_del_cb(http, "/test");
1685 evhttp_set_cb(http, "/test", terminate_chunked_cb, &terminate_state);
1696 /* first half of the http request */
1718 if (http)
1719 evhttp_free(http);