compute-sdk-go icon indicating copy to clipboard operation
compute-sdk-go copied to clipboard

Serve: send back 431 error instead of panicking when request header too big

Open dkegel-fastly opened this issue 2 years ago • 0 comments

This is a POC that's just good enough to pass a smoke test, presented for discussion.

TODO:

  • verify that this is the right approach
  • on total header length too big, send 413
  • on URI too long, send 414
  • add tests verifying behavior when each part of the request from client is too big
  • add tests verifying behavior when each part of the response from origin is too big

dkegel-fastly avatar Feb 10 '23 22:02 dkegel-fastly