Custom file descriptor handler
dakota at brokenpipe.ru
Sun Feb 8 04:17:45 UTC 2015
I have a file descriptor (it is created by other software, not by nginx).
How to add it to nginx event loop watcher properly? All I need is to have
my callback called when my file descriptor has a new data to read (I'll
read the data by myself).
Browsing the code shows functions like ngx_add_conn and ngx_add_event, but
it seems like a non-trivial thing to prepare the proper input arguments.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx-devel