Pyro 4.38 will have new wire protocol version due to handshake change
Irmen de Jong <[email protected]> Wed, 10 Jun 2015 00:56:33 +0200
| Newsgroups | gmane.comp.python.pyro |
|---|---|
| Message-ID | <[email protected]> |
Hi, due to modifications I'm making to the connection handshake mechanism, the next Pyro version (4.38) will have a new wire protocol version: 48. It has been stable for a very long time but now I'm forced to make a backwards incompatible change. This unfortunately means you'll have to update all your Pyro libraries on clients and servers once you go upgrade to Pyro 4.38 and beyond. This also holds for Pyrolite, that will have to be updated to a (yet to be released) new version as well. I think the wire protocol will be stable for a long time after this change once more, because there is the annotation mechanism to add 'out of band' data in a flexible way (which you are able to do yourself as well since 4.37). The idea for the next release is, that the proxy now can send a customizable handshake data message to the daemon when it connects. The daemon can then validate this message and the new connection, and return customizable response data. The proxy can do something with the response if it so desires. The default behavior is to just exchange "hello" strings and set up a connection :-) I would appreciate it if you had a peek at the changes I'm making and give some feedback on it. Before an official 4.38 release is made (will take a while, no worries). https://github.com/irmen/Pyro4/commit/b2da164f699a14f1403607e435a6a1940d11ed28 Irmen ------------------------------------------------------------------------------