Skip to content

Commit

Permalink
Add option to disable tls client renegotiation altogether
Browse files Browse the repository at this point in the history
  • Loading branch information
Rush committed Nov 24, 2015
1 parent e30cfac commit 8ff4718
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/HttpMasterWorker.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,11 @@ function handleConfig(config, configHandled) {

var errors = {};

if (config.disableTlsClientRenegotiation) {
tls.CLIENT_RENEG_LIMIT = 0;
tls.CLIENT_RENEG_WINDOW = 0;
}

async.parallel(Object.keys(config.ports || {}).map(function(portEntry) {
return function(asyncCallback) {
var m;
Expand Down

0 comments on commit 8ff4718

Please sign in to comment.