Skip to content

Inconsistent behavior handling malformed HTTP requests in HTTP ModuleΒ #54130

Open
@ComputerScienceGirl12

Description

@ComputerScienceGirl12

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    httpIssues or PRs related to the http subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions