Re: [PATCH] Flush buffers also where there are exactly 0 bytes left

From: Krzysztof Oledzki <ole#ans.pl>
Date: Sun, 20 Apr 2008 22:19:09 +0200 (CEST)

On Sun, 20 Apr 2008, Krzysztof Oledzki wrote:

> From 36a615d278769a2678446dc4977b77147e6ee1c2 Mon Sep 17 00:00:00 2001
> From: Krzysztof Piotr Oledzki <ole#ans.pl>
> Date: Sun, 20 Apr 2008 21:34:47 +0200
> Subject: [BUG] Flush buffers also where there are exactly 0 bytes left

I'm also attaching a debug patch that helps to trigger this bug.

Without the fix:
# echo -ne "GET /haproxy?stats;csv;norefresh HTTP/1.0\r\n\r\n"|nc 127.0.0.1 801|wc -c 16384

With the fix:
# echo -ne "GET /haproxy?stats;csv;norefresh HTTP/1.0\r\n\r\n"|nc 127.0.0.1 801|wc -c 33089

Best regards,

                                 Krzysztof Olędzki

Received on 2008/04/20 22:19

This archive was generated by hypermail 2.2.0 : 2008/04/20 22:30 CEST