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

http: don't write empty data on req/res end() #41116

Merged
merged 1 commit into from Dec 10, 2021

Commits on Dec 8, 2021

  1. http: don't write empty data on req/res end()

    When calling OutgoingMessage.end() with empty data argument, avoid
    writing to the socket unless there's still pending data to be sent.
    
    Fixes: nodejs#41062
    santigimeno committed Dec 8, 2021
    Copy the full SHA
    5697fc8 View commit details
    Browse the repository at this point in the history