diff --git a/node_modules/c9/rest_client.js b/node_modules/c9/rest_client.js index 0ff3db0c..d8910d20 100644 --- a/node_modules/c9/rest_client.js +++ b/node_modules/c9/rest_client.js @@ -50,6 +50,9 @@ function RestClient(host, port, config) { options.auth = config.username + ":" + config.password; var req = proto.request(options, onResponse(done, options, body)); + + /** Keep requests alive for long running requests **/ + req.setSocketKeepAlive(true); req.on("error", function(e) { log("ERROR %s %s://%s:%s%s %s",