mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
parent
8fe35c7614
commit
1cc94feab8
@ -1542,6 +1542,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