Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
oven-sh
/
bun
Public
Notifications
You must be signed in to change notification settings
Fork
5.1k
Star
96.1k
Code
Issues
3.7k
Pull requests
5k+
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
node:http: emit 'pause' on req.socket once an unread body fills the IncomingMessage buffer
- #34740
#34740
Merged
Jarred-Sumner
merged 12 commits into
main
oven-sh/bun:main
from
farm/7605e109/http-server-req-socket-pause
oven-sh/bun:farm/7605e109/http-server-req-socket-pause
Copy head branch name to clipboard
Jul 20, 2026
Conversation
Commits
12
(12)
Checks
Files changed
Merged
node:http: emit 'pause' on req.socket once an unread body fills the IncomingMessage buffer
#34740
Jarred-Sumner
merged 12 commits into
main
oven-sh/bun:main
from
farm/7605e109/http-server-req-socket-pause
oven-sh/bun:farm/7605e109/http-server-req-socket-pause
Copy head branch name to clipboard
Commits
Commits on Jul 20, 2026
node:http: push request body eagerly and readStop the socket on backpressure
Show description for 20f02cc
robobun
committed
20f02cc
View commit details
Copy full SHA for 20f02cc
Browse repository at this point
NodeHTTPResponse: guard do_resume from re-arming onData/onTimeout once the body is delivered
Show description for 7eb2f2a
robobun
committed
7eb2f2a
View commit details
Copy full SHA for 7eb2f2a
Browse repository at this point
node:http: skip readStop for upgrade-with-body; move pause tests to their own file
Show description for e2b534f
robobun
committed
e2b534f
View commit details
Copy full SHA for e2b534f
Browse repository at this point
ci: retrigger
robobun
committed
c8aa589
View commit details
Copy full SHA for c8aa589
Browse repository at this point
NodeHTTPResponse: apply the same body_read_state guard to do_pause
Show description for aafc38d
robobun
committed
aafc38d
View commit details
Copy full SHA for aafc38d
Browse repository at this point
NodeHTTPResponse: let do_pause reach pause_socket() when body is not Pending
Show description for a315c2d
robobun
committed
a315c2d
View commit details
Copy full SHA for a315c2d
Browse repository at this point
node:http: skip readStop once the socket's writable side has ended
Show description for 85b9e06
robobun
committed
85b9e06
View commit details
Copy full SHA for 85b9e06
Browse repository at this point
NodeHTTPResponse: fold IS_DATA_BUFFERED_DURING_PAUSE_LAST into the body-done predicate
Show description for 9839ada
robobun
committed
9839ada
View commit details
Copy full SHA for 9839ada
Browse repository at this point
node:http: pause the fd around socketHandle.end()'s shutdown; readStart on body completion; route upgrade backpressure through the request's own handle
Show description for 235d1e8
robobun
committed
235d1e8
View commit details
Copy full SHA for 235d1e8
Browse repository at this point
Move onDataIncomingMessage to internal/http; declare us_socket_pause; tighten keep-alive test
Show description for 637dd2c
robobun
committed
637dd2c
View commit details
Copy full SHA for 637dd2c
Browse repository at this point
_http_incoming: import onDataIncomingMessage from internal/http instead of keeping a divergent copy
Show description for c34fb04
robobun
committed
c34fb04
View commit details
Copy full SHA for c34fb04
Browse repository at this point
test: assert both keep-alive requests reached the same server socket
Show description for f996a40
robobun
committed
f996a40
View commit details
Copy full SHA for f996a40
Browse repository at this point
You can’t perform that action at this time.