Title: Re: mod_perl 2: $r->get_server_port returns wrong valu
More on my own question:

It *seems* that get_server_port gives the wrong answer when responding to an HTTP/1.0 request. That is, it always says port '80' for HTTP/1.0

Should I report this as a bug?

(Apache/2.0.47 (Unix) mod_perl/1.99_10 Perl/v5.8.0)


At 4:59 PM -0700 10/8/03, Matisse Enzer wrote:
Is it possible that the value returned by $r->get_server_port could be affected by the format or content of the client request?

I've got a test case where when i hit the same URL from two different clients
I get different values from $r->get_server_port.
This doesn't make sense to me, because I had believed that get_server_port gets its information from the server side only, but perhaps i am mistaken about that.

-- 
------------------------------------------
Matisse Enzer
Doodlelab Inc.
415-925-5294 ext. 212 (office)
415-225-6703 (mobile)



Reply via email to