You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2015/05/18 23:16:50 UTC
[Bug 57933] New: apr_port_t returns constant
https://bz.apache.org/bugzilla/show_bug.cgi?id=57933
Bug ID: 57933
Summary: apr_port_t returns constant
Product: Apache httpd-2
Version: 2.4.12
Hardware: PC
OS: Linux
Status: NEW
Severity: minor
Priority: P2
Component: Core
Assignee: bugs@httpd.apache.org
Reporter: arunas.u@iv.lt
Today i was struggling with misbehaviour of mod_rewrite SERVER_PORT on non
default apache2 port.
I found that, in both newest legacy and current versions,
modules/http/http_core.c there is a function apr_port_t that return either 80
or 443, based on ssl configuration. Shouldn't this function return current used
port?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 57933] apr_port_t returns constant
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=57933
Christophe JAILLET <ch...@wanadoo.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #1 from Christophe JAILLET <ch...@wanadoo.fr> ---
I guess you talk about:
apr_port_t http_port(const request_rec *r)
if correct, then the answer is no. This function is there to give the default
http or https port number (i.e. 443 or 80)
If you are not talking about this function, then you should provide additional
description in order to help us check if there is an issue or not.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 57933] apr_port_t returns constant
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=57933
Eric Covener <co...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |CLOSED
Status|NEW |RESOLVED
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 57933] apr_port_t returns constant
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=57933
juniorolalde55@gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org