Lines Matching refs:connection
472 const char *connection = evhttp_find_header(headers, "Proxy-Connection"); in evhttp_is_connection_close() local
473 return (connection == NULL || evutil_ascii_strcasecmp(connection, "keep-alive") != 0); in evhttp_is_connection_close()
475 const char *connection = evhttp_find_header(headers, "Connection"); in evhttp_is_connection_close() local
476 return (connection != NULL && evutil_ascii_strcasecmp(connection, "close") == 0); in evhttp_is_connection_close()
494 const char *connection = evhttp_find_header(headers, "Connection"); in evhttp_is_connection_keepalive() local
495 return (connection != NULL in evhttp_is_connection_keepalive()
496 && evutil_ascii_strncasecmp(connection, "keep-alive", 10) == 0); in evhttp_is_connection_keepalive()
2163 const char *connection; in evhttp_get_body_length() local
2166 connection = evhttp_find_header(headers, "Connection"); in evhttp_get_body_length()
2168 if (content_length == NULL && connection == NULL) in evhttp_get_body_length()
2171 evutil_ascii_strcasecmp(connection, "Close") != 0) { in evhttp_get_body_length()