Welcome! Log In Create A New Profile

Advanced

how to use my own FD in NGINX

Philippe RAZAVET
March 24, 2011 04:38AM
Hi

I plan to use NGINX HTTP server on Linux, it uses epoll event loop.

I want to develop a NGINX proxy module using File Descriptors of my
own (not TCP socket) to forward the requests to a back-end service, and
let NGINX adds those FDs in his epoll FD set, to handle the responses.

What are the steps to achieve this goal ? (I suppose it is much work
than a simple proxy module, maybe involving upstream and event module
development ?)

Should I give up hacking NGINX event loop, and make my own event loop to
manage my File Descriptors in a back-end process ? (actually, this is
the way I go for now)

Philippe Razavet



_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

how to use my own FD in NGINX

Philippe RAZAVET 2652 March 24, 2011 04:38AM

Re: how to use my own FD in NGINX

Akins, Brian 834 March 24, 2011 11:48AM

Re: how to use my own FD in NGINX

agentzh 755 May 01, 2011 10:20PM

Re: how to use my own FD in NGINX

Philippe RAZAVET 1037 May 03, 2011 03:50AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 182
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready