this.set('kiwi_server', _kiwi.app.kiwi_server);\r
\r
this.socket = new EngineioTools.ReconnectingSocket(this.get('kiwi_server'), {\r
+ transports: _kiwi.app.server_settings.transports || ['websocket', 'polling'],\r
path: _kiwi.app.get('base_path') + '/transport',\r
reconnect_max_attempts: 5,\r
reconnect_delay: 2000\r
// Where the client files are
conf.public_http = "client/";
+// Transports available to the client.
+// Behind an Apache reverse proxy? Uncomment the below - Apache does not support websockets!
+//conf.client_transports = ['polling'];
+
// Max connections per connection. 0 to disable
conf.max_client_conns = 5;
vars.server_settings.client = config.get().client;
}
+ // Client transport specified?
+ if (config.get().client_transports) {
+ vars.server_settings.transports = config.get().client_transports;
+ }
+
// Any client plugins?
if (config.get().client_plugins && config.get().client_plugins.length > 0) {
vars.client_plugins = config.get().client_plugins;