Since last commit, we don't retrieve the HTTP transaction from there
anymore, so these entries can go.
struct hlua_txn {
struct stream *s;
struct proxy *p;
- void *l7;
};
/* This struc is used with sample fetches and sample converters. */
struct hlua_smp {
struct stream *s;
struct proxy *p;
- void *l7;
int stringsafe;
};
hsmp->s = txn->s;
hsmp->p = txn->p;
- hsmp->l7 = txn->l7;
hsmp->stringsafe = stringsafe;
/* Pop a class sesison metatable and affect it to the userdata. */
hsmp->s = txn->s;
hsmp->p = txn->p;
- hsmp->l7 = txn->l7;
hsmp->stringsafe = stringsafe;
/* Pop a class stream metatable and affect it to the table. */
htxn->s = txn->s;
htxn->p = txn->p;
- htxn->l7 = txn->l7;
/* Pop a class stream metatable and affect it to the table. */
lua_rawgeti(L, LUA_REGISTRYINDEX, class_http_ref);
htxn->s = s;
htxn->p = p;
- htxn->l7 = s->txn;
/* Create the "f" field that contains a list of fetches. */
lua_pushstring(L, "f");