http2: setting shuttingDown=true after validation
In shutdown(), shuttingDown was set to true before validating options. If invalid options are passed, error was thrown and server remained in shuttingDown state. This code change fixes it. PR-URL: https://github.com/nodejs/node/pull/15676 Fixes: https://github.com/nodejs/node/issues/15666 Refs: https://github.com/nodejs/node/issues/14985 Reviewed-By:James M Snell <jasnell@gmail.com> Reviewed-By:
Ruben Bridgewater <ruben@bridgewater.de>
parent
ae91ffe5
Please register or sign in to comment