Welcome! Log In Create A New Profile

Advanced

Re: Is there a way to get the raw request from the client in a handler?

Ottavio Campana
January 09, 2019 09:18AM
Dear Maxim,

in the nginx documentation
http://nginx.org/en/docs/http/ngx_http_core_module.html#var_request I find

$request full original request line

How is this variable populated? I was expecting that this variable is taken
from an internal buffer. Or is it reconstructed?

Thank you,

Ottavio


Il giorno mer 9 gen 2019 alle ore 14:23 Maxim Dounin <mdounin@mdounin.ru>
ha scritto:

> Hello!
>
> On Wed, Jan 09, 2019 at 10:52:11AM +0100, Ottavio Campana wrote:
>
> > I am proceeding developing my module.
> >
> > Is there a way to get the raw HTTP request from a ngx_http_request_t ?
>
> No. E.g., there is no such thing as "raw HTTP request" when using
> HTTP/2.
>
> --
> Maxim Dounin
> http://mdounin.ru/
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>


--
Non c'è più forza nella normalità, c'è solo monotonia
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Is there a way to get the raw request from the client in a handler?

Ottavio Campana January 09, 2019 04:54AM

Re: Is there a way to get the raw request from the client in a handler?

Maxim Dounin January 09, 2019 08:24AM

Re: Is there a way to get the raw request from the client in a handler?

Ottavio Campana January 09, 2019 09:18AM

Re: Is there a way to get the raw request from the client in a handler?

Maxim Dounin January 09, 2019 12:20PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 295
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