Open foobarlab opened 11 years ago
Apparently the static variables on the server python code in config.py get overwritten, so this kind of behaviour remains a smell.
Transport.as
and Client.as
have been fixed in commit ddb59a50a054fdc103ea5a9d9cd8dfa50a3e86b1.
An instance has these preset 'standard' ports:
It is not possible to start an instance on other ports without breaking loading a stage.
Obviously these ports are read from multiple different configurations and those interfere:
client:
Transport.as
,Client.as
: use Client.POLICY_PORT instead of evaluating the given url parametersserver:
pages.py
: variablevars
uses the Config.POLICY_PORT and Config.SWF_PORT instead of the given port numbers by the starting commandIt is rather expected that not configuration is involved but just the commandline arguments specifying these ports. A configuration could only be used for setting default values in case no commandline argument is given.