]> granicus.if.org Git - apache/commit
Fix the OPTIONS response. It was attempting to send an HTTP response
authorGreg Stein <gstein@apache.org>
Wed, 28 Mar 2001 10:40:44 +0000 (10:40 +0000)
committerGreg Stein <gstein@apache.org>
Wed, 28 Mar 2001 10:40:44 +0000 (10:40 +0000)
commit11d8cc5a58ac10f5a0265b76c8044e60b33e0000
tree4cf11b11e5fa649409c349333eaa65bb9671a480
parent5ba260cc0c41d2f84d1a255973a9f1fbffbcf3b7
Fix the OPTIONS response. It was attempting to send an HTTP response
(header) through the filter stack, which just wrapped that response in
another set of headers.

Instead, just set the Allow header and return. The EOS will then flush that
header with the rest of the data through the header filter, and generate the
proper response.

Also, cleaned out the unused header_filter_ctx and the "len" variable from
the header filter, and added some comments here and there.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88600 13f79535-47bb-0310-9956-ffa450edef68
modules/http/http_protocol.c