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

Subcriber cannot receive message #236

Closed ppLorins closed 8 years ago

ppLorins commented 8 years ago

OS: mac OSX ngx:1.9.6 Push-stream-module config modification: events { worker_connections 1024; use kqueue; //this is the only modification , from epoll to kqueue }

Pub : curl -s -v -X POST 'http://localhost:9080/pub?id=my_channel_1' -d 'Hello World!' image

Subscribe: curl -s -v 'http://localhost:9080/sub/my_channel_1', use default streaming mode image

Subscriber stuck here , whether publisher send a message to ngx or not.

Have no idea now , who ever encounter this issue?

ppLorins commented 8 years ago

Um.... got this fixed just by adding --no-cache to sub's curl command , curl cache sucked