Bug about content length -1 #875
Unanswered
Nihilistttt
asked this question in
Q&A
Replies: 2 comments 5 replies
-
Thanks @Nihilistttt in what connector are you experiencing this? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Coraza doesn't perform any validation regarding this behavior, it's up to the ruleset to do so. It will also depend on the behavior of the connector, for example, if you use caddy, caddy will receive a chunked body and coraza will receive the real content length and the full body buffered. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When response content length -1 that means header will send immediately. What if this request blocked that means response code will change 4xx or 5xx. But header already sent. It will not change antmore.
Beta Was this translation helpful? Give feedback.
All reactions