mod_perl 2: $r-get_server_port returns wrong value

2003-10-08 Thread Matisse Enzer
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

Re: mod_perl 2: $r-get_server_port returns wrong value under Apache::compat ??

2003-10-06 Thread Stas Bekman
Matisse Enzer wrote: At 1:20 PM -0700 10/6/03, Stas Bekman wrote: Matisse Enzer wrote: [...] sub handler { warn Port: , $_[0]-get_server_port; $server-configure(@_); $server-SUPER::handler(@_); } and got the wrong result. Hmm, is $_[0] an Apache::RequestRec object? If it's a method