mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
http-connect: do not check connection on GET cb
This commit is contained in:
parent
415ddee337
commit
9c91fe1479
@ -59,11 +59,8 @@ static void get_cb(struct evhttp_request *req, void *arg)
|
||||
{
|
||||
ev_ssize_t len;
|
||||
struct evbuffer *evbuf;
|
||||
struct evhttp_connection *evcon;
|
||||
|
||||
VERIFY(req);
|
||||
evcon = evhttp_request_get_connection(req);
|
||||
VERIFY(evcon);
|
||||
|
||||
evbuf = evhttp_request_get_input_buffer(req);
|
||||
len = evbuffer_get_length(evbuf);
|
||||
|
Loading…
x
Reference in New Issue
Block a user