mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-16 01:51:45 +00:00
nanomsg: reset maximum receive msg size
This commit is contained in:
@@ -71,6 +71,11 @@ FairMQSocketNN::FairMQSocketNN(const string& type, const string& name, const int
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef NN_RCVMAXSIZE
|
||||
int rcvSize = -1;
|
||||
nn_setsockopt(fSocket, NN_SOL_SOCKET, NN_RCVMAXSIZE, &rcvSize, sizeof(rcvSize));
|
||||
#endif
|
||||
|
||||
// LOG(INFO) << "created socket " << fId;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user