diff --git a/README.md b/README.md index 935be5e..91a8033 100644 --- a/README.md +++ b/README.md @@ -145,7 +145,7 @@ stunnel.connect({ httpsServer.emit('connection', myDuplex); if (cb) { - cb(); + process.nextTick(cb); } return myDuplex2;