I'm running 1.5-dev4 on ubuntu (linux26 target) with the following config
file:
defaults
mode http timeout connect 5000ms timeout client 60000ms timeout server 60000ms backend test_be server goog google.com:80 frontend http_proxy bind *:80 mode http default_backend test_be
When I run it with "haproxy -f config_file -d" and then do a "curl localhost" in another terminal, I get a screenful of this:
00000010:http_proxy.clireq[0023:ffff]: GET / HTTP/1.1 00000010:http_proxy.clihdr[0023:ffff]: User-Agent: curl/7.19.7 (x86_64-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k zlib/1.2.3.3 libidn/1.15 00000010:http_proxy.clihdr[0023:ffff]: Host: localhost 00000010:http_proxy.clihdr[0023:ffff]: Accept: */*
That snippet gets repeated exactly 16000 times, and eventually my curl
command errors out with this response:
<html><body><h1>504 Gateway Time-out</h1>
The server didn't respond in time.
</body></html>
If I add the line "option forwardfor" to the frontend config section, and
curl again, I get a similar result, along with many many lines that look
like:
00000008:http_proxy.clihdr[0013:ffff]: X-Forwarded-For: 127.0.0.1
I've tested the same config file with version 1.5-dev3 and 1.4.13, and they both work fine.
I have the full output from haproxy; let me know if you need more information for testing.
thanks,
Cory
Received on 2011/03/22 23:45
This archive was generated by hypermail 2.2.0 : 2011/03/23 00:00 CET