[nanomsg] Re: Status

  • From: Martin Sustrik <sustrik@xxxxxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Tue, 04 Mar 2014 23:02:58 +0100

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

On 04/03/14 22:58, Garrett D'Amore wrote:
> It’s this text:
> 
> First four bytes of the protocol header MUST be set to 0x00, 0x53,
> 
> 0x50 and 0x01 respectively.  If the protocol header received from
> the
> 
> peer differs, the TCP connection MUST be closed immediately.
> 
> 
> The reality is that the fourth byte, version (8b), is 0 in the
> current implementation.

A-ha! Nice spot.

To retain backward compatibility with 0.1 and 0.2 releases, I propose
to leave the code as is and change the RFC to say "0x00, 0x53, 0x50
and 0x00".

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

iQEcBAEBAgAGBQJTFk2SAAoJENTpVjxCNN9Y1kgH+wcL9J89HHqQB++m5TKNNOa+
VwbDiM1w5q2Ohx5qCYzYi/eMQ2TEy2mlRIr4p1i8prirtETU5TDGzFHFDzG2j/Qq
OtHhU1FOpIBmqLqXjrK8aYLDOuNw9M7EeKij/K/R3QeifqyNfS5jnqcfFCAPBC9o
ARDDaxg+NEYV5zCiqP69rdKrIDAtNQfH4ZpaVJVm8YJ3lza+fRNhqgPsMb+mJ3Pu
mINNO+jPn+A8U0EGEiNb8KyO8ER0PooamhPbMtgru2cyZ3lUi5Q3zq1vZbQVEcGX
HC3TYUFqm0lvgNTM034KHlCJbq44MphqdfQ63r+fWifRMip4spaWquGOaJzuxJc=
=8Ub0
-----END PGP SIGNATURE-----

Other related posts: