regress_http.c | 161 http_readcb(struct bufferevent *bev, void *arg) 165 event_debug(("%s: %s\n", __func__, EVBUFFER_DATA(bev->input))); 167 if (evbuffer_find(bev->input, 173 done = evhttp_parse_firstline(req, bev->input); 177 done = evhttp_parse_headers(req, bev->input); 188 bufferevent_disable(bev, EV_READ); 197 http_writecb(struct bufferevent *bev, void *arg) 199 if (EVBUFFER_LENGTH(bev->output) == 0) { 201 bufferevent_enable(bev, EV_READ); 207 http_errorcb(struct bufferevent *bev, short what, void *arg 297 struct bufferevent *bev = arg; local 308 struct bufferevent *bev; local 811 struct bufferevent *bev; local 1078 struct bufferevent *bev; local 1269 struct bufferevent *bev; local 1355 struct bufferevent *bev; local [all...] |