Welcome! Log In Create A New Profile

Advanced

Issuing an HTTP request from a stream module

April 08, 2019 08:18AM
Hi all,

I would like to issue HTTP requests from an nginx stream module.
In my understanding, I need to use ngx_event_connect_peer to connect, and implement my own write/read event handlers
in order to build the request/parse the response.
Is there some other solution that takes advantage of all the code that already exists in nginx for doing that?
Also, does anyone happen to have some code that does something similar?

Thank you!

Eran

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

Issuing an HTTP request from a stream module

erankor 220 April 08, 2019 08:18AM

Re: Issuing an HTTP request from a stream module

Roman Arutyunyan 75 April 08, 2019 10:24AM

RE: Issuing an HTTP request from a stream module

erankor 109 April 14, 2019 09:26AM



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

Online Users

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