slact / nchan

Fast, horizontally scalable, multiprocess pub/sub queuing server and proxy for HTTP, long-polling, Websockets and EventSource (SSE), powered by Nginx.
https://nchan.io/
Other
2.99k stars 292 forks source link

Building nginx with nchan module changes its signature #688

Open Str1ker17 opened 3 weeks ago

Str1ker17 commented 3 weeks ago

The following line: https://github.com/slact/nchan/blob/b4d6b42fea761af0ff06dce990f0caa11a7e8132/config#L157

turn on feature NGX_HTTP_HEADERS regardless of configure flags.

i.e. if I ./configure Nginx without --with-compat, the feature bit is still set by nchan module. Which is unwanted, because breaks compatibility with third-party module.

Can it be fixed?