[nanomsg] Re: issue with "received" message size

  • From: Martin Sustrik <sustrik@xxxxxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx, Paul Colomiets <paul@xxxxxxxxxxxxxx>
  • Date: Tue, 11 Mar 2014 15:20:52 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/03/14 15:07, Garrett D'Amore wrote:

> I don’t have any particular “need” for this capability at present,
> so I’m happy to spend whatever time is required to think about this
> and get it “right” rather than rush to a solution.

The state of the affairs is that the functionality is already
implemented, but it's not exposed via API. The only thing that needs
to be done to expose it is to add NN_RCVPRIO socket option.

The reason why it was not exposed is that we haven't had a clear use
case for it.

I still think it's a good idea ("in case of overload process messages
from this endpoint first") but you'll have to convice Paul that it
actually makes sense.

Martin

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTHxvEAAoJENTpVjxCNN9YRmAH/iEiMihSyAuGxdrRxK24rRrP
ds/leN9ObdLp/xjtUxFoNE+Zz/PWwmWxpzS+UcKfqt4xtHwHqxmL9GufR9X1DiYu
y6i7tLwj+jrAh9eLm4WAJm8DnjwVWt6oQZD31Y66C5hy/qLKJgMHM+1exookMrBK
LBcrYMIxw7AMCd5rz9mr80JW8GTytkT+cToHV+r214UCYRChRkgYjG0vrb2fX8jc
l3jpqjyJry8JcgwvGVPG2BqHR5d09ppQSUSAnvaN6GITkpTNG8uITs4Vc6WAQU/U
CDxgP4JKlMzCTBEOLLQkMP6XdCEJ5OOM0XqqcBNA1j8O+wk8xL1TFlE2IVzyj2E=
=SWfv
-----END PGP SIGNATURE-----

Other related posts: