[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[Libevent-users] Re: evhttp close callback not invoked when client closes the browser in chunked mode



what is the equivalent to âevbuffer_get_lengthâ in libevent Ver 1.4?

2011/6/30 æç|åäæ <calidion@xxxxxxxxx>:
> hello, everyone
>
> i am trying to write a simple comet server with evhttp.
>
> the attached is my code currently compiled and runnable.
>
> but when i visit ip:8811/streaming, and close the browser, the server
> side connection callback doesn't invoked.
>
> where in this file it's named HTTPServer::onClose.
>
> can any one tell me how to get the callback when the browser closed?
>
> thanks.
>
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.