"Hacking" the event model of Nginx

Peter Reinde lists at ruby-forum.com
Sun Dec 9 11:26:14 UTC 2012


> // My specific Nginx http handler
> int my_http_handler (ngx_request_t * r)
> {
>   if (r->my_state == 0) // first step: initiate the work to do

I'm trying to do something similar, however r->my_state is unknown here. 
Did you create your own struct?

-- 
Posted via http://www.ruby-forum.com/.



More information about the nginx mailing list