Skip to content

Instantly share code, notes, and snippets.

@haproxytechblog
Created September 2, 2021 18:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haproxytechblog/2a44ce488acb81131071fda46472cb76 to your computer and use it in GitHub Desktop.
Save haproxytechblog/2a44ce488acb81131071fda46472cb76 to your computer and use it in GitHub Desktop.
September/2021 - Duplicate 'Content-Length' Header Fixed
frontend myfrontend
http-request deny if { req.hdr_cnt(content-length) gt 1 }
http-response deny if { res.hdr_cnt(content-length) gt 1 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment