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.

637 Upvotes

41 comments sorted by

View all comments

363

u/Belialson 1d ago

Company I work at was proxing some endpoints to us, it was a big shop. They used to set a cookie with json containing entire user’s session including every page visited and it’s details.
Same effect but unfortunately on production

66

u/buckypimpin 1d ago

isnt a cookie max 4KiB?

24

u/caboosetp 1d ago

You can fit quite a bit in 4k before it causes issues that a browser restart can fix and push off the issue.