Welcome! Log In Create A New Profile

Advanced

Re: How do I get the file descriptor of an incoming request?

Roman Arutyunyan
January 05, 2019 07:40AM
Hello Ottavio,

On Fri, Jan 04, 2019 at 06:18:51PM +0100, Ottavio Campana wrote:
> Hello,
>
> I am trying to write my first module for nginx. I have a ngx_http_request_t
> *r . How can I get the file descriptor where the request comes from?

r->connection->fd

> Thank you,
>
> Ottavio
>
> --
> Non c'è più forza nella normalità, c'è solo monotonia

> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx


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

How do I get the file descriptor of an incoming request?

Ottavio Campana January 04, 2019 12:20PM

Re: How do I get the file descriptor of an incoming request?

Roman Arutyunyan January 05, 2019 07:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 79
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready