Update high water marking to allow changing high water mark after connection established.

This commit is contained in:
Richard Newton
2015-06-05 17:14:55 +01:00
parent a3b8f80fe5
commit 15eecf4cf4
7 changed files with 167 additions and 78 deletions

View File

@@ -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;
}