bug report for haproxy 1.3.15

From: Hongyu <shellcode#gmail.com>
Date: Sat, 3 May 2008 12:15:16 +0800


I use haproxy to dispatcher different www services to different backend servers.

The haproxy configuration is attached and *backend's lighttpd server use keep-alive http connections.*



*test case 1:*

12:09 [root#a07.vimg.file.yoqoo]$ cat t
HEAD /index.html HTTP/1.1
HOST: www.xxx.com

HEAD /index.html HTTP/1.1
HOST: www.yyy.com

tty:[0] jobs:[0] cwd:[~]
12:09 [root#a07.vimg.file.yoqoo]$ cat t | nc -i 1 localhost 80 HTTP/1.1 404 Not Found
Content-Type: text/html
Content-Length: 345
Date: Sat, 03 May 2008 04:09:39 GMT
*Server: I151*

HTTP/1.1 404 Not Found
Content-Type: text/html
Content-Length: 345
Date: Sat, 03 May 2008 04:09:43 GMT
*Server: I151*



*test case 2:*

12:10 [root#a07.vimg.file.yoqoo]$ cat t2 HEAD /index.html HTTP/1.1
HOST: www.yyy.com

HEAD /index.html HTTP/1.1
HOST: www.xxx.com

12:10 [root#a07.vimg.file.yoqoo]$ cat t2 | nc -i 1 localhost 80 HTTP/1.1 404 Not Found
Content-Type: text/html
Content-Length: 345
Date: Sat, 03 May 2008 04:11:01 GMT
*Server: I161*

HTTP/1.1 404 Not Found
Content-Type: text/html
Content-Length: 345
Date: Sat, 03 May 2008 04:11:07 GMT
*Server: I161*


*If we enabled "option httpclose" for backend and frontend, haproxy works
without problem.*

Regards,

Que Hongyu

Received on 2008/05/03 06:15

This archive was generated by hypermail 2.2.0 : 2008/05/03 06:30 CEST