Hello! On Mon, Jul 01, 2019 at 07:23:11PM +0000, Eran Kornblau wrote:
> Something is unclear to me regarding the use of this function, the > development guide says - > "the functions ngx_handle_read_event(rev, flags) and > ngx_handle_write_event(wev, lowat) > must be called after handling an I/O socket notification or calling any I/O > functions on that socket" > > If my module finished sending all the data it had, and is now waiting for > more data to arrive > (on some other socket) does it still have to call ngx_handle_write_event? Yes. In particular, this is required with level-tiggered event methods, such as select and poll, to remove the socket from the event list if it was previously added there. -- Maxim Dounin http://mdounin.ru/ _______________________________________________ nginx-devel mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx-devel
