i am sorry -d output 954722 000513c:xxxx.accept(0008)=000a from [10.201.10.11:10037] 954723 000513c:xxxx.clihdr[000a:ffffffff] POST /coupon/show/a511 HTTP/1.1 954724 000513c:xxxx.clihdr[000a:ffffffff] Connection: keep-alive 954725 000513c:xxxx.clihdr[000a:ffffffff] ent-Type: application/x-www-form-ur 954726 000513c:xxxx.clihdr[000a:ffffffff] ncoded 954727 000513c:xxxx.clihdr[000a:ffffffff] gth: 686
At 2017-05-27 14:17:26, "Willy Tarreau" <[email protected]> wrote: >On Tue, May 23, 2017 at 10:13:40AM +0200, Aleksandar Lazic wrote: >> Hi siclesang. >> >> siclesang have written on Mon, 22 May 2017 11:11:31 +0800 (CST): >> >> > hi >> > i have a problem:haproxy does not capture the complete request >> > header host sometimes >> >> Which header do you miss? >> How long is the header? > >Also as you can see in the image, the output was mangled with the first >characters of headers being trimmed. > >Siclesang, I don't know if it's your capture or whatever you performed on >it, but please just copy-paste the output from -d instead of converting >it into an image and editing it. As it is now, it's useless. > >An important point to note is that debug mode (-d) shows every single >line received prior to processing them, so if you don't see Host being >listed there, it means it was not present in the request. > >Regards, >Willy

