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

Inconsistent behavior handling malformed HTTP requests in HTTP Module #54130

Open
ComputerScienceGirl12 opened this issue Jul 31, 2024 · 1 comment
Labels
http Issues or PRs related to the http subsystem.

Comments

@ComputerScienceGirl12
Copy link

Version

20.12.2

Platform

Windows 64-bit

Subsystem

http

What steps will reproduce the bug?

Create a server using the http module. Send a malformed HTTP request to the server. Observe the server's response and behavior.

How often does it reproduce? Is there a required condition?

The issue reproduces consistently with malformed HTTP requests.

What is the expected behavior? Why is that the expected behavior?

The server should handle malformed requests gracefully without crashing. This is necessary to avoid security crashes.

What do you see instead?

The server exhibits inconsistent behavior and may crash, depending on the nature of the request.

Additional information

This issue was identified during unit testing using the Mocha testing framework and Chai assertion library.

@marco-ippolito
Copy link
Member

can you try to update to the latest version of v20 and provide a repro?

@VoltrexKeyva VoltrexKeyva added the http Issues or PRs related to the http subsystem. label Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
http Issues or PRs related to the http subsystem.
Projects
None yet
Development

No branches or pull requests

3 participants