mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 12:18:04 +01:00
Update high water marking to allow changing high water mark after connection established.
This commit is contained in:
@@ -888,18 +888,5 @@ int zmq::options_t::getsockopt (int option_, void *optval_, size_t *optvallen_)
|
||||
|
||||
bool zmq::options_t::is_valid (int option_) const
|
||||
{
|
||||
bool valid = true;
|
||||
|
||||
if (connected) {
|
||||
switch (option_) {
|
||||
case ZMQ_SNDHWM:
|
||||
case ZMQ_RCVHWM:
|
||||
valid = false;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return valid;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user