diff --git a/lib/_http_server.js b/lib/_http_server.js index 40955df26c946e..d80eba745df1a8 100644 --- a/lib/_http_server.js +++ b/lib/_http_server.js @@ -425,7 +425,7 @@ function storeHTTPOptions(options) { } if (this.requestTimeout > 0 && this.headersTimeout > 0 && this.headersTimeout >= this.requestTimeout) { - throw new codes.ERR_OUT_OF_RANGE('headersTimeout', '>= requestTimeout', headersTimeout); + throw new codes.ERR_OUT_OF_RANGE('headersTimeout', '< requestTimeout', headersTimeout); } const keepAliveTimeout = options.keepAliveTimeout;