]> granicus.if.org Git - apache/commit
don't try to place a header field in error-notes if ap_rgetline()
authorJeff Trawick <trawick@apache.org>
Wed, 6 Feb 2002 16:19:03 +0000 (16:19 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 6 Feb 2002 16:19:03 +0000 (16:19 +0000)
commitd580c767f4282a1288bc84e135e8bdf54a913a75
tree3f280521dec195ab9a53d1cedab5220f6c0b0f22
parent60cbb9ea608107feadeee793828380fb6eceaafb
don't try to place a header field in error-notes if ap_rgetline()
returned something like APR_EOF, since len is not set in this
case and we can go off the end of storage

make sure we set r->status to something when we bail out due
to an error; otherwise, the request goes forward with meaningless
headers

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