Orbited.Websocket.install({ proxyUri: "https://orbited.example.com:8001" protocolVersion: "rev76", forceProxy: true });
for (iface, port), app in self._wsgi_apps.items():print "Orbited listening on http://%s:%s" % (iface or "0.0.0.0", port)eventlet.spawn(eventlet.wsgi.server, eventlet.listen((iface,port)), app, log=EmptyLogShim())ev = eventlet.event.Event()eventlet.spawn(self._run, ev)
Kind regards,Philip Bennefall
Hi Niklas,Thank you very much for this detailed description. The question is why Orbited2 doesn't do this as gracefully as Orbited seems to do, from what I gather by looking at old configuration files for that. I only use regular tcp sockets, so if it supports this for web sockets that's of course a good thing but doesn't really work for me. I am not really comfortable patching the code locally, as I'd like to upgrade whenever new versions come out and I don't want to have to apply these changes each time. Do you know how I can get in contact with the author who wrote this code?
Kind regards,Philip Bennefall----- Original Message -----
----- Original Message -----From: Niklas B