mirror of
https://github.com/cuberite/libevent.git
synced 2025-08-04 01:36:23 -04:00
test: fix http/autofree_connection
Refs: #182 (cherry picked from commit 1cc94feab81e7387041edc32be9843f66847072d)
This commit is contained in:
parent
c297245377
commit
ab13087526
@ -1320,6 +1320,9 @@ http_autofree_connection_test(void *arg)
|
|||||||
evhttp_connection_free_on_completion(evcon);
|
evhttp_connection_free_on_completion(evcon);
|
||||||
evcon = NULL;
|
evcon = NULL;
|
||||||
|
|
||||||
|
// req0
|
||||||
|
event_base_dispatch(data->base);
|
||||||
|
// req1
|
||||||
event_base_dispatch(data->base);
|
event_base_dispatch(data->base);
|
||||||
|
|
||||||
/* at this point, the http server should have no connection */
|
/* at this point, the http server should have no connection */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user