[PATCH] public upstream connect and finalize request

Maxim Dounin mdounin at mdounin.ru
Fri Jun 17 22:01:17 UTC 2022


On Fri, Jun 17, 2022 at 08:09:25AM +0500, RekGRpth wrote:

> It is needed for an upstream plugin, which has its own read and write
> infrastructure. (And, of cause, I forgotten publicate
> ngx_http_upstream_next)

Thanks for the details.  The suggested changes do not look in line 
with how upstream module works: it manages connections itself, and 
provides protocol-specific callbacks and filters to make it 
possible to implement various protocols.  You may want to 
reconsider how your module works and change it to work with 
existing upstream interfaces instead.

Maxim Dounin

More information about the nginx-devel mailing list