When using an incorrect 'mode' as 2nd argument of core.register_service(),
HAProxy crashes while displaying the error message.
To be backported to 1.8, 1.7 and 1.6.
akl->kw[0].parse = action_register_service_http;
else
WILL_LJMP(luaL_error(L, "lua service environment '%s' is unknown. "
- "'tcp' or 'http' are expected."));
+ "'tcp' or 'http' are expected.", env));
akl->kw[0].match_pfx = 0;
akl->kw[0].private = fcn;