Skip to content

Error: Receive buffer too long - Response header greater than 16kB #2520

Discussion options

You must be logged in to vote

Yup, I think we could increase the max_incomplete_event_size that we use.
Having the same value that curl uses would be reasonable.

Their limit is 1024 * 100.
Our limit is currently 1024 * 16.

We can either fix this by changing the default in h11, or by changing the configuration in httpcore, which can accept max_incomplete_event_size=... as you've done in this example.

Which of those two approaches do we think is more reasonable?

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@zanieb
Comment options

@tomchristie
Comment options

@zanieb
Comment options

@DHuyAu
Comment options

@tomchristie
Comment options

Answer selected by tomchristie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants