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

Support unbuffered binary messages #99

Closed Downchuck closed 4 years ago

Downchuck commented 11 years ago

Currently nginx prevents this feature, but it is on the roadmap for 1.5. Essentially, allow curl -XPOST -d @binaryfile.tgz to a pub endpoint, with subscribers draining the connection. Continue to drain the buffer based on the subscriber. If no subscriber is draining the buffer, then the buffer will accum to a max, then wait until the timeout limit.