Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node:http compatibility (options.lookup) #18395

Merged
merged 20 commits into from
Mar 25, 2025
Merged

node:http compatibility (options.lookup) #18395

merged 20 commits into from
Mar 25, 2025

Conversation

heimskr
Copy link
Member

@heimskr heimskr commented Mar 22, 2025

What does this PR do?

Increases node:http compatibility and adds some tests from Node.js that now pass. The most notable change is support for the lookup option of http.request. There are other bug fixes and also HTTP server performance improvements (up to 10% higher reqs/s in some cases).

  • Documentation or TypeScript types
  • Code changes

How did you verify your code works?

Tests from Node.js:

  • test/js/node/test/parallel/test-http-autoselectfamily.js
  • test/js/node/test/parallel/test-http-conn-reset.js

@robobun
Copy link

robobun commented Mar 22, 2025

Updated 11:48 PM PT - Mar 24th, 2025

@heimskr, your commit 5f580d4 has 1 failures in Build #13882:


🧪   try this PR locally:

bunx bun-pr 18395

@heimskr heimskr requested a review from Jarred-Sumner March 22, 2025 03:49
@heimskr heimskr merged commit 60acfb1 into main Mar 25, 2025
68 of 71 checks passed
@heimskr heimskr deleted the kai/http-compat-2 branch March 25, 2025 06:49
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.

3 participants