http-connect: do not check connection on GET cb

This commit is contained in:
Azat Khuzhin 2020-01-12 15:31:50 +03:00
parent 415ddee337
commit 9c91fe1479

View File

@ -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);