Lines Matching refs:bufferevent_get_input
248 if (evbuffer_contains(bufferevent_get_input(bev), what)) { in http_readcb()
253 done = evhttp_parse_firstline_(req, bufferevent_get_input(bev)); in http_readcb()
257 done = evhttp_parse_headers_(req, bufferevent_get_input(bev)); in http_readcb()
598 if (evbuffer_contains(bufferevent_get_input(bev), bad_request)) { in http_badreq_readcb()
605 if (evbuffer_contains(bufferevent_get_input(bev), what)) { in http_badreq_readcb()
610 done = evhttp_parse_firstline_(req, bufferevent_get_input(bev)); in http_badreq_readcb()
614 done = evhttp_parse_headers_(req, bufferevent_get_input(bev)); in http_badreq_readcb()
625 evbuffer_drain(bufferevent_get_input(bev), evbuffer_get_length(bufferevent_get_input(bev))); in http_badreq_readcb()
892 n = evbuffer_remove(bufferevent_get_input(bev), buf, in http_allowed_methods_eventcb()
2174 if (evbuffer_contains(bufferevent_get_input(bev), what)) { in http_failure_readcb()
3130 done = evhttp_parse_firstline_(req, bufferevent_get_input(bev)); in http_chunked_errorcb()
3134 done = evhttp_parse_headers_(req, bufferevent_get_input(bev)); in http_chunked_errorcb()
3146 header = evbuffer_readln(bufferevent_get_input(bev), NULL, EVBUFFER_EOL_CRLF); in http_chunked_errorcb()
3156 if (strncmp((char *)evbuffer_pullup(bufferevent_get_input(bev), 13), in http_chunked_errorcb()
3160 evbuffer_drain(bufferevent_get_input(bev), 13 + 2); in http_chunked_errorcb()
3162 header = evbuffer_readln(bufferevent_get_input(bev), NULL, EVBUFFER_EOL_CRLF); in http_chunked_errorcb()
3170 if (strncmp((char *)evbuffer_pullup(bufferevent_get_input(bev), 18), in http_chunked_errorcb()
3174 evbuffer_drain(bufferevent_get_input(bev), 18 + 2); in http_chunked_errorcb()
3176 header = evbuffer_readln(bufferevent_get_input(bev), NULL, EVBUFFER_EOL_CRLF); in http_chunked_errorcb()
3186 if (strncmp((char *)evbuffer_pullup(bufferevent_get_input(bev), 8), in http_chunked_errorcb()
3190 evbuffer_drain(bufferevent_get_input(bev), 8 + 2); in http_chunked_errorcb()
3192 header = evbuffer_readln(bufferevent_get_input(bev), NULL, EVBUFFER_EOL_CRLF); in http_chunked_errorcb()
4244 evbuffer_drain(bufferevent_get_input(bev), -1); in terminate_readcb()