Comment 6 for bug 8132

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Sat, 18 Sep 2004 02:16:17 +0200
From: Thibaut VARENE <email address hidden>
To: <email address hidden>
Cc: <email address hidden>, <email address hidden>,
 <email address hidden>
Subject: 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 <email address hidden> wrote:

> tags 271912 confirmed
> thanks
>
> On Fri, 17 Sep 2004 16:45:57 -0700
> "Andrew D. Clark" <email address hidden> 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/