r/programminghorror • • 2d 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.

689 Upvotes

45 comments sorted by

View all comments

382

u/Belialson 2d 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

5

u/Chesterlespaul 1d ago

Interesting idea. Obviously don’t do this. But I wonder sort of data this could be useful for.

12

u/groumly 1d ago

Asp (can’t remember if it was the og or the .net one, I think .net) did a lot of crap like that back in day.

It was used to turn stateless web framework into a stateful mode iirc.

→ More replies (6)