Closed ppLorins closed 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!'
Subscribe: curl -s -v 'http://localhost:9080/sub/my_channel_1', use default streaming mode
Subscriber stuck here , whether publisher send a message to ngx or not.
Have no idea now , who ever encounter this issue?
Um.... got this fixed just by adding --no-cache to sub's curl command , curl cache sucked
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](https://cloud.githubusercontent.com/assets/5534049/14626958/8a475e74-0622-11e6-967f-e37e971e36f0.png)
Subscribe: curl -s -v 'http://localhost:9080/sub/my_channel_1', use default streaming mode![image](https://cloud.githubusercontent.com/assets/5534049/14626941/7dc0f1d8-0622-11e6-8cf9-a8043a87bc2c.png)
Subscriber stuck here , whether publisher send a message to ngx or not.
Have no idea now , who ever encounter this issue?