Hello NGINX team,

I'm working on a RESTCONF server that streams data via SSE.

When using Apache2 with mod_fcgid, everything works fine:
multiple clients can connect to /restconf/streams, and each gets a stream.


However, when switching to nginx + fcgiwrap, only the first connection
works.
All other connections hang or cause nginx to become unresponsive until the
first SSE stream is closed.

Even when I stop the client using Ctrl+C, nginx/fcgiwrap does not seem to
close the connection.
The socket remains open (verified via lsof/netstat), and nginx stays
unresponsive.

I've attached both nginx and Apache configurations.

Is there a way to configure nginx + fcgiwrap to support multiple parallel
event-stream (SSE) connections, and to close them properly when timeput
after  the client disconnects?

Thanks,
Rostyslav

Attachment: NGINX-restconf
Description: Binary data

Attachment: APACHE2-restconf.conf
Description: Binary data

_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to