Skip to content

Conversation

@fibonacci1729
Copy link
Collaborator

@fibonacci1729 fibonacci1729 commented Nov 5, 2025

This introduces SPIN_HTTP1_MAX_BUF_SIZE to allow configuring the underlying maximum read buffer size for HTTP1 connections.

@fibonacci1729 fibonacci1729 added the needs-docs Needs documentation in the spin-docs repo label Nov 5, 2025
@fibonacci1729 fibonacci1729 requested a review from lann November 5, 2025 21:12
@fibonacci1729 fibonacci1729 linked an issue Nov 5, 2025 that may be closed by this pull request
Copy link
Collaborator

@itowlson itowlson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One day (O HAPPY DAY) we should come up with some principles about when to use trigger args vs trigger config vs runtime config vs pure environment variables.

Today, however, need not be that day.

(This thought is prompted by the assumption that the user in the linked issue is going to want their application to always run with this buffer size. But it seems a bit low level for a trigger config setting, so 🤷.)

@fibonacci1729 fibonacci1729 merged commit b332f52 into spinframework:main Nov 6, 2025
17 checks passed
@fibonacci1729 fibonacci1729 deleted the max-buf-size branch November 6, 2025 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-docs Needs documentation in the spin-docs repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Configurable Max Header Size

2 participants