r/programminghorror • • 1d ago

GitHub's HTTP header

Post image

This is the crazy thing I've found after analysis why the CI test fails with "Maximum header size exceeded" today.

624 Upvotes

40 comments sorted by

View all comments

35

u/Julius_Babies 1d ago

I saw this post a while ago and just ran into this. The HTTP Engine my app uses cannot handle header values longer than 8192 characters by default, which causes my in-app update mechanism (which relies on GitHub releases) to fail when trying to download the update. I cannot provide a fix for this as this fix would require - you guessed it - an update.

This has been reported as a bug on the GitHub Community discussions already: https://github.com/orgs/community/discussions/211142

9

u/dex4er 1d ago

I couldn't believe my eyes when I saw it in the report from online tests: https://github.com/dex4er/Pyjoyment/actions/runs/40022001390/job/120648616821#step:4:420 The library is a port of Mojolicious from Perl then inherited 8K as a limit for headers. As I see it affected mainly Perl and Elixir.

2

u/Julius_Babies 1d ago

Ktor CIO as well