diff --git a/lib/_http_common.js b/lib/_http_common.js index 4c8d3c3850b2fa..a3e5f072b42ff6 100644 --- a/lib/_http_common.js +++ b/lib/_http_common.js @@ -21,8 +21,7 @@ 'use strict'; -const binding = process.binding('http_parser'); -const { methods, HTTPParser } = binding; +const { methods, HTTPParser } = process.binding('http_parser'); const FreeList = require('internal/freelist'); const { ondrain } = require('internal/http');