diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-03-02 09:00:36 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-03-02 09:00:36 +0100 |
commit | 5fcef1cac4d9faf0279b83ba48899b0e17b8e2d5 (patch) | |
tree | cce0cb9223e29ba38c909cccaac828bc59f7557a /include | |
parent | 4c7446211a02937f3e2522aece163d417b4ad0b9 (diff) |
ZMQ_MAXMSGSIZE option added
The new option allows user to guard against peers sending
oversized messages. Connection to peer sending oversized message
is dropped.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/zmq.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/zmq.h b/include/zmq.h index ac31cba..8c4447e 100644 --- a/include/zmq.h +++ b/include/zmq.h @@ -204,6 +204,7 @@ ZMQ_EXPORT int zmq_term (void *context); #define ZMQ_BACKLOG 19 #define ZMQ_RECOVERY_IVL_MSEC 20 /* opt. recovery time, reconcile in 3.x */ #define ZMQ_RECONNECT_IVL_MAX 21 +#define ZMQ_MAXMSGSIZE 22 /* Send/recv options. */ #define ZMQ_NOBLOCK 1 |