[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#271912: apache2 does not set request_rec->server->port



reassign 271912 apache2
tags 271912 + help
retitle 271912 apache2 does not set request_rec->server->port
thanks

Thibaut VARENE <varenet@esiee.fr> wrote:

> tags 271912 confirmed
> thanks
> 
> On Fri, 17 Sep 2004 16:45:57 -0700
> "Andrew D. Clark" <andrew.clark@ucsb.edu> wrote:
> > 
> > Sorry, I'll try to be more clear :-)
> > 
> > Since the URI printed to the playlist.m3u file specifies port 0 for 
> > http transport, connections fail (since my http is listening on port
> > 
> > 80, not on port 0).
> 

Replying to myself:

I tried downgrade to 0.99.2, it didn't fix the problem. It looks like a
bug in apache2, which no longer sets request_rec->server->port, making
the following piece of code both fail and misbehave:

        /* add the port number if needed */
        if (!ap_is_default_port(r->server->port, r)) {
                sprintf(str_port, ":%u", r->server->port);
                strcat(prefix, str_port);
        }


I'm therefore asking for help from the apache2 team and reassigning bug
to apache2.

HTH,


Thibaut VARENE
The PA/Linux ESIEE Team
http://www.pateam.org/



Reply to: