Open kfpanda opened 8 years ago
unlikely to be fixed
modify:conn_pool.c add head
In init_pool function modify:: zmq_connect(c->m_sock, cp->m_endpt); TO: if(cp->m_stype == ZMQ_REQ) zmq_connect(c->m_sock, cp->m_endpt); else zmq_bind(c->m_sock, cp->m_endpt);
In ngx_http_zmq_module.c Replace:ZMQ_NOBLOCK To:ZMQ_DONTWAIT
last build.
Do the mentioned patches fix your problems?
yes. The REQ PUSH PUB . i test success for ZMQ 4.1.3.
ZMQ 4.x not success for pub-sub