* returns a yield.
*/
static int hlua_request_act_wrapper(struct hlua_rule *rule, struct proxy *px,
- struct stream *s, struct http_txn *http_txn,
- unsigned int analyzer)
+ struct stream *s, unsigned int analyzer)
{
char **arg;
struct stream *s)
{
return hlua_request_act_wrapper((struct hlua_rule *)tcp_rule->act_prm.data,
- px, s, NULL, AN_REQ_INSPECT_FE);
+ px, s, AN_REQ_INSPECT_FE);
}
/* Lua execution wrapper for "tcp-response". This function uses
struct stream *s)
{
return hlua_request_act_wrapper((struct hlua_rule *)tcp_rule->act_prm.data,
- px, s, NULL, AN_RES_INSPECT);
+ px, s, AN_RES_INSPECT);
}
/* Lua execution wrapper for http-request.
struct stream *s)
{
return hlua_request_act_wrapper((struct hlua_rule *)rule->arg.data, px,
- s, s->txn, AN_REQ_HTTP_PROCESS_FE);
+ s, AN_REQ_HTTP_PROCESS_FE);
}
/* Lua execution wrapper for http-response.
struct stream *s)
{
return hlua_request_act_wrapper((struct hlua_rule *)rule->arg.data, px,
- s, s->txn, AN_RES_HTTP_PROCESS_BE);
+ s, AN_RES_HTTP_PROCESS_BE);
}
/* tcp-request <*> configuration wrapper. */