diff --git a/src/hlua.c b/src/hlua.c index a7fd52baa..f8e481c27 100644 --- a/src/hlua.c +++ b/src/hlua.c @@ -5170,6 +5170,8 @@ static int hlua_http_new(lua_State *L, struct hlua_txn *txn) htxn->s = txn->s; htxn->p = txn->p; + htxn->dir = txn->dir; + htxn->flags = txn->flags; /* Pop a class stream metatable and affect it to the table. */ lua_rawgeti(L, LUA_REGISTRYINDEX, class_http_ref);