Skip to content

Conversation

@mcollina
Copy link
Member

As Node.js prepares to deprecate process.binding(), we can still use _http_common to get the HTTPParser.

Ref: nodejs/node#37485.

@mcollina mcollina requested a review from ronag February 24, 2021 09:55
@ronag
Copy link
Member

ronag commented Feb 24, 2021

Fails 😕

@codecov-io
Copy link

codecov-io commented Feb 24, 2021

Codecov Report

Merging #564 (6aba647) into master (37aa2cc) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #564   +/-   ##
=======================================
  Coverage   99.57%   99.57%           
=======================================
  Files          16       16           
  Lines        1398     1400    +2     
=======================================
+ Hits         1392     1394    +2     
  Misses          6        6           
Impacted Files Coverage Δ
lib/node/http-parser.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 37aa2cc...6aba647. Read the comment docs.

@mcollina
Copy link
Member Author

Landing, it seems mac os x hosts have some issues.

@mcollina mcollina merged commit dc6b0b7 into master Feb 24, 2021
@mcollina mcollina deleted the no-process-bindings branch February 24, 2021 12:45
ronag pushed a commit that referenced this pull request Apr 8, 2021
* Remove process.binding()

* use process.binding if common does not have the HTTPParser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants