Re: polyclt port and the proxy parameter

From: Alex Rousskov (rousskov@ircache.net)
Date: Tue May 16 2000 - 11:48:52 MDT


On Tue, 16 May 2000, Aaron Held wrote:

> When I add the --proxy 10.0.0.1:8080 to the polyclt command line and view
> the output of the --dump hdr option I notice that the URL's being requested
> are of the form
> http://10.0.129.1:-1/w02........ http/1.0
>
> Why is the port specified as -1 ?

To build a complete URL, Polygraph uses the corresponding origin server
address from your PGL file. Perhaps you forgot to specify the origin
server port in your configuration? For example,

        Server S = {
                ...
                hosts = ['127.0.0.1:8080', '127.0.0.1:8888' ];
        };

HTH,

Alex.

P.S. Polygraph should complain about undefined ports, of course. PGL
sanity checks are currently rudimental. This is a bug.



This archive was generated by hypermail 2b29 : Tue Jul 10 2001 - 12:00:12 MDT