[nanomsg] NN_SNDBUF on inproc

  • From: Steve Vinoski <vinoski@xxxxxxxx>
  • To: nanomsg <nanomsg@xxxxxxxxxxxxx>
  • Date: Wed, 8 Oct 2014 09:42:06 -0400

I'm wondering why the inproc transport doesn't support NN_SNDBUF? Seems
like all the machinery to check the queue size and return EAGAIN if there's
no room is already in place, and so just wiring the setting of the
NN_SNDBUF option value into the already-existing variable, overwriting the
default 128k, would make it work.

I'm happy to go create a pull request for this, but wanted to check first
to make sure there's not some design decision I'm overlooking.

thanks,
--steve

Other related posts: