Skip to content

feat: add HTTP server timeout configurations and environment variables#88

Merged
soulteary merged 2 commits intomainfrom
prom-metrics
Jan 6, 2026
Merged

feat: add HTTP server timeout configurations and environment variables#88
soulteary merged 2 commits intomainfrom
prom-metrics

Conversation

@soulteary
Copy link
Copy Markdown
Owner

No description provided.

- Introduced new constants and environment variables for HTTP server timeout settings, including read header, read, write, idle timeouts, and maximum header size.
- Updated CLI and environment parsing to support these new timeout configurations, allowing for better control over server behavior.
- Enhanced server initialization to utilize the configured timeout values, ensuring robust handling of HTTP requests.
- Enhanced HTTP server timeout configurations by refining the handling of read header, read, write, and idle timeouts.
- Updated logging to include detailed request body information based on user preferences, improving traceability and debugging capabilities.
- Sanitized error messages to protect sensitive information while maintaining robust error handling.
@soulteary soulteary merged commit c8b3517 into main Jan 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant