wandenberg / nginx-push-stream-module

A pure stream http push technology for your Nginx setup. Comet made easy and really scalable.
Other
2.22k stars 295 forks source link

Is it possible to send a customer header to subscribers? #40

Closed omares closed 12 years ago

omares commented 12 years ago

I would like to send a 204 No Content header as specified in the http://www.w3.org/TR/eventsource/ definition. Is this possible?

wandenberg commented 12 years ago

Hi,

no, this is not possible, because we would have to keep a state on the server to, when the client tries to reconnect, send him a 204 header response. But when or how release this state on the server?

Regards, Wandenberg