missing server host information in the request with webaxe-4

From: Eiji Kawai (eiji-ka@is.aist-nara.ac.jp)
Date: Fri Aug 31 2001 - 10:44:42 MDT


Hi, Polygraph developers.

I tried to upgrade the polygraph (2.7.2->2.7.3) and found that the
requests generated by polygraph-2.7.3 with webaxe-4 did not contain
the information about server hosts.

With polygraph-2.7.2, the requests sent to the proxy server are like
the following one.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
GET http://172.16.101.61/w052e6e70.73aa019b:00000006/t02/_00000002.htm HTTP/1.0
Accept: */*
Host: 172.16.101.61:80
X-Xact: 052e6e70.73aa019b:00000002 052e6e70.73aa019b:000001fc
X-Loc-World: 052e6e70.73aa019b:00000006 -1/2 1
X-Rem-World: 052e6e70.73aa019b:00000006 -1/2 1
X-Target: 172.16.101.191:80
X-Phase-Sync-Pos: 0
Proxy-Connection: keep-alive
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Of course, 172.16.101.61 is the address of the server host that
executes the polysrv program, and not the address of the proxy server.

On the other hand, with polygraph-2.7.3, the requests sent to the
proxy server are like
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
GET /w052e6e70.73aa019b:00000006/t02/_00000002.htm HTTP/1.0
Accept: */*
Host: 172.16.101.32:80
X-Xact: 052e6e70.73aa019b:00000002 052e6e70.73aa019b:000001fc
X-Loc-World: 052e6e70.73aa019b:00000006 -1/2 1
X-Rem-World: 052e6e70.73aa019b:00000006 -1/2 1
X-Target: 172.16.101.191:80
X-Phase-Sync-Pos: 0
Proxy-Connection: keep-alive
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Here, 172.16.101.32 is the address of the proxy server.

Is this behavior of the polyclt is correct? or do I set some wrong
configuration?

The following is an extract from my configuration file.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
TheBench = {
        client_side = {
                addr_space = [ 'lo0::10.101.0-123.1-250/22' ];
                hosts = [ '172.16.101.61-62' ]; // replace with IPs of
        your PCs
        };
        server_side = {
                hosts = [ '172.16.101.191-192:80' ]; // replace with
        IPs of your
 PCs
        };
        proxy_side = {
                hosts = [ '172.16.101.32:80' ]; // replace with proxy
        address
        };
};
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Thanks in advance,

EIJI KAWAI
Japan Science and Technology Corporation (JST)



This archive was generated by hypermail 2b29 : Mon Feb 06 2006 - 12:00:19 MST