In the REORG of commit
1a18b5414 ("REORG: connection: centralize the
conn_set_{tos,mark,quickack} functions") a bug was introduced by
calling conn_set_tos instead of conn_set_mark.
This was reported in issue #212
This should be backported to 1.9 and 2.0.
htxn = MAY_LJMP(hlua_checktxn(L, 1));
mark = MAY_LJMP(luaL_checkinteger(L, 2));
- conn_set_tos(objt_conn(htxn->s->sess->origin), mark);
+ conn_set_mark(objt_conn(htxn->s->sess->origin), mark);
return 0;
}