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 809 April 08, 2019 08:18AM

Re: Issuing an HTTP request from a stream module

Roman Arutyunyan 373 April 08, 2019 10:24AM

RE: Issuing an HTTP request from a stream module

erankor 531 April 14, 2019 09:26AM



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

Online Users

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