Hi,

the following configuration leads to "...while parsing 'http-response
capture' rule : expects 'id', found 'len'":

listen www
        bind :8080
        mode http
        http-request capture req.hdr(X) len 1
        http-response capture res.hdr(Y) len 1
        server dummy 127.0.0.1:80

The function analogous to "http_action_req_capture" in "proto_http.c"
seems to be missing. If you omit the argument "len 1" the parser
displays "'http-response capture' rule : expects <expression> [ 'len'
<length> | id <idx> ]" and seems to be prepared for an implicit slot
creation. But maybe the error message is misleading. :-)

Kay Fuchs

Reply via email to