Home | History | Annotate | Download | only in libevent

Lines Matching refs:hostname

199 		  const char *hostname);
1529 const char *hostname;
1585 hostname = evhttp_uri_get_host(req->uri_elems);
1588 hostname &&
1589 !evhttp_find_vhost(req->evcon->http_server, NULL, hostname))
2060 * Although this interface accepts a hostname, it is intended to take
2934 matching hostname. If a match is found, and outhttp is non-null,
2940 const char *hostname)
2947 if (!evutil_ascii_strcasecmp(alias->alias, hostname)) {
2957 if (evhttp_find_alias(vhost, outhttp, hostname))
2965 Attempts to find the best http object to handle a request for a hostname.
2977 const char *hostname)
2983 if (evhttp_find_alias(http, outhttp, hostname))
2990 hostname, 1 /* ignorecase */)) {
3009 const char *hostname;
3027 hostname = evhttp_request_get_host(req);
3028 if (hostname != NULL) {
3029 evhttp_find_vhost(http, &http, hostname);
3680 char *hostname = NULL, *portname = NULL;
3682 name_from_addr(sa, salen, &hostname, &portname);
3683 if (hostname == NULL || portname == NULL) {
3684 if (hostname) mm_free(hostname);
3690 __func__, hostname, portname, EV_SOCK_ARG(fd)));
3694 http->base, NULL, hostname, atoi(portname));
3695 mm_free(hostname);
3874 /* turn NULL hostname into INADDR_ANY, and skip looking up any address
3917 char *host; /* hostname, IP address, or NULL */