irmen / Pyrolite

Java and .NET client interface for Pyro5 protocol
MIT License
178 stars 47 forks source link

Only serpent is supported in call method of pyro proxy #82

Closed sameerdeswal closed 2 years ago

sameerdeswal commented 2 years ago

As per the code the _handshake method support other sterilizers via _PyroSerializer.getFor(msg.serializerid), but the call method always uses serpent.

irmen commented 2 years ago

Pyrolite only supports the Serpent serialization format. From the handshake to the actual sending and receiving of data messages.

The getFor(id) method is a leftover from the past when also Pickle was supported (in version 4 of the protocol) but this has been dropped a long time ago because it's not safe to use. https://github.com/irmen/Pyrolite#where-is-pickle