Hi Willy
Other captures work.

Here are the examples
https://gist.github.com/manasg/7f4d674a5e07b140e170eadad6858a24

Length 0 in req.payload did not change anything. Also isn't this dump a
binary blob?

I am open to trying the Lua approach.



On Fri, Sep 16, 2016 at 11:11 PM, Willy Tarreau <w...@1wt.eu> wrote:

> On Fri, Sep 16, 2016 at 06:08:40PM -0700, Manas Gupta wrote:
> > Thanks for the info Willy.
> >
> > Is this a layer 6 capture? If yes, do I need to do something special to
> log
> > it?
> >
> > The following snippet logs just a '-'
> >
> >   capture request header Host len 40
> >   capture request header Via len 100
> >   capture request header xyz len 52
> >   http-request capture req.payload(0,0) len 4000
> >
> > In log format :-
> >
> > hdump=%[capture.req.hdr(3)]
>
> Does it work if you capture something else ? And if you force a length
> instead of 0 in req.payload ? I'm just trying to figure what could cause
> the problem.
>
> Willy
>

Reply via email to