zeromq/libzmq — pull request #431 by ipechorin (2012-09-27 06:02:00+00:00)
Title: Forward-port fix for LIBZMQ-211

REP socket demands at least an empty address stack. The server asserted on (msg_->flags () & msg_t::more) in rep.cpp:75 when receiving a malformed request without empty part.

This patch makes a REP socket to discard and silently ignore such malformed requests.

This is a forward-port of fix for LIBZMQ-211 from libzmq2-x: https://github.com/zeromq/zeromq2-x/commit/9a08c71d7d63544d55620391d12fab4269e3a4df

This patch is equal to https://github.com/zeromq/zeromq3-x/pull/37