Skip to content

Router: Add HTTP Server Connection and Request Body Limits #65

Description

@mfrankmysql

Summary:
Add configurable connection and body-size limits to MySQL Router’s built-in HTTP server.

Problem:
The http_server plugin currently does not enforce maximum HTTP connections, request body size, or response body size. This can lead to resource exhaustion and unpredictable behavior under load.

Proposed approach:
Introduce configurable limits for:
• max_http_connections
• max_request_body_size
• max_response_body_size
Also add an internal runtime override interface and secure defaults when values are not configured.

Expected benefits:
• More predictable Router behavior under load
• Protection against resource exhaustion
• Safer HTTP server defaults
• Better operational control for internal components

Metadata

Metadata

Assignees

No one assigned

    Labels

    Performance & ObesrvabilityItems for improving speed, scalability, monitoring, diagnostics, and operational insightenhancementNew feature or request

    Fields

    No fields configured for Feature.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions