cloudcms-server 3.2.320 → 3.2.321

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -327,7 +327,7 @@ exports = module.exports = function()
327
327
  }
328
328
  });
329
329
 
330
- });
330
+ }((host, rootStore, logMethod, callback)));
331
331
  };
332
332
 
333
333
  r.interceptor = function()
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  },
7
7
  "name": "cloudcms-server",
8
8
  "description": "Cloud CMS Application Server Module",
9
- "version": "3.2.320",
9
+ "version": "3.2.321",
10
10
  "repository": {
11
11
  "type": "git",
12
12
  "url": "git://github.com/gitana/cloudcms-server.git"
package/server/index.js CHANGED
@@ -1004,16 +1004,17 @@ var startServer = function(config, startServerFinishedFn)
1004
1004
 
1005
1005
  if (kill)
1006
1006
  {
1007
- // console.log("KILL, method: " + req.method + ", url: " + req.url);
1008
- // if (req.headers)
1009
- // {
1010
- // console.log(" -> headers: " + JSON.stringify(req.headers, null, 2));
1011
- // }
1012
- // if (req.query)
1013
- // {
1014
- // console.log(" -> query: " + JSON.stringify(req.query, null, 2));
1015
- // }
1016
- //
1007
+ var text = "KILL, method: " + req.method + ", url: " + req.url;
1008
+ if (req.headers)
1009
+ {
1010
+ text += ", headers: " + JSON.stringify(req.headers);
1011
+ }
1012
+ if (req.query)
1013
+ {
1014
+ text += ", query: " + JSON.stringify(req.query);
1015
+ }
1016
+ console.log(text);
1017
+
1017
1018
  // are we being spoofed? kill the connection
1018
1019
  res.blocked = true;
1019
1020
  res.writeHead(503, { 'Content-Type': 'application/json' });