Welcome! Log In Create A New Profile

Advanced

Proxy module without waiting for a reply

June 09, 2013 05:22AM
Hi all,
I need to implement nginx module that does the following:
* It receives http get requests.
* For every request it sends information about the request over TCP packet
to another server.
* When data are send it generates some trivial HTTP reply. The another
server does not sent any reply to the module.

I studied source code of other modules and some tutorials and it seems that
I should implement upstream (proxy) module. But I would like to achieve the
following:
* Module does generate the reply just after data are sent to another
server. It does not wait for any reply from another server.
* Socket to another server remains open among requests and is reused for
subsequent requests.

Is this possible and is implementation of upstream module the right way?

Kind regards,
Daniel

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

Proxy module without waiting for a reply

Hagrid 1252 June 09, 2013 05:22AM

Re: Proxy module without waiting for a reply

Maxim Dounin 478 June 09, 2013 08:06AM

Re: Proxy module without waiting for a reply

Hagrid 848 June 18, 2013 10:25AM

Re: Proxy module without waiting for a reply

Hagrid 1121 June 18, 2013 10:25AM



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

Online Users

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