]> granicus.if.org Git - apache/commit
* server/protocol.c (ap_content_length_filter): Rewrite the content
authorJoe Orton <jorton@apache.org>
Wed, 13 Sep 2017 10:59:51 +0000 (10:59 +0000)
committerJoe Orton <jorton@apache.org>
Wed, 13 Sep 2017 10:59:51 +0000 (10:59 +0000)
commit49f1beaadaae6e62302cbc96a2a077dc7601c30b
treeca16056d1044c3a6715652087a84df1027ac0b1a
parentb3945e5e1a1ad04c7859ee58b06923937253f227
* server/protocol.c (ap_content_length_filter): Rewrite the content
  length filter to avoid arbitrary memory consumption for streaming
  responses (e.g. large CGI script output).  Ensures C-L is still
  generated in common cases (static content, small CGI script output),
  but this DOES change behaviour and some responses will end up
  chunked rather than C-L computed.

PR: 61222
Submitted by: jorton, rpluem

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808230 13f79535-47bb-0310-9956-ffa450edef68
server/protocol.c