httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cl...@jhcloos.com (James H. Cloos, Jr.)
Subject Re: incorrect Allow: header?
Date Mon, 12 May 1997 16:47:55 GMT
I tried this on three of our servers, 1.2b4-dev (19961228140010
snapshot), 1.2b7 and 1.2b9-dev (19970422130013 snapshot).  All give
what looks like the same corruption as Marc.

The value of the Allow header varies each time, but it looks like a
pointer pointing to a random location in vm.

Interesting point:  commenting out the 

	<Location /server-status>
	SetHandler server-status
	</Location>

makes it work.  allow is set to `GET, HEAD, OPTIONS, TRACE' and the
reply is a 405 Method Not Allowed, rather than the 501 one get's
otherwise.

I note that make_allow() in http_protocol.c returns "TRACE" if
r->allowed=0 and returns 2+pstrcat(r->pool, ... NULL) otherwise.

Why return 2+ the output of pstrcat() vs just "TRACE"?

-JimC
-- 
James H. Cloos, Jr.	<URL:http://www.jhcloos.com/>
Senior Engineer		cloos@jhcloos.com, cloos@io.com
IOCOM Ltd.		LPF,Usenix,SAGE,ISOC,ACLU

Mime
View raw message