disable bufferevent after we have received the data that we care for.

svn:r197
This commit is contained in:
Niels Provos 2006-02-02 22:36:37 +00:00
parent a3bb4a035f
commit c398d78811

View File

@ -134,6 +134,7 @@ http_readcb(struct bufferevent *bev, void *arg)
"Content-Type") != NULL)
test_ok++;
evhttp_request_free(req);
bufferevent_disable(bev, EV_READ);
event_loopexit(NULL);
}
}