Ticket #115 (new defect)

Opened 1 year ago

Last modified 1 year ago

client and server with different versions causes stale clients

Reported by: yvesjm Assigned to: yvesjm
Priority: major Milestone: 0.2.0
Component: common Version: 0.1.7
Keywords: Cc:

Description

We need to find a way to make sure that changes in the server don't affect an older version of the client.

I think this would be a simple yet effective way to solve this, while we are far from stabilizing the RPC layer.

from wiki:RPCMethods

anon.check_protocol_version

Requests the current 'nwu' protocol version implemented by the server.

This method should be used by the client to check if the version of its protocol matches the one implemented at the server. If they don't match, 'nwu-agent' should run a "self update".

The client informs the current version to the server, so that information can be logged and 'stale' clients can be detected.

Parameters

        * client protocol version (string) 

Return value

        * server protocol version (string) 

Change History

01/17/08 19:34:24 changed by stephan

Looks like a good idea. Feel free to add that to the server whilst I am working on the agent.

-->