[SR-Users] [sr-dev] is t_flush_flags() really needed?

Juha Heinanen jh at tutpro.com
Wed Mar 28 10:00:28 CEST 2018


Daniel-Constantin Mierla writes:

> Afaik, flags after t_newtran() were supposed not to be moved to
> transaction if t_flush_flags(), that being the purpose of the later
> function. Are you doing any other tm operations between creating the new
> transaction and relaying the request or end of script execution?

After calling t_newtran() I arm failure and onreply routes and then call
t_relay().  Flags set after t_newtran() are visible in both those routes
without calling t_flush_flags().  Same should happen with xflags.

-- Juha



More information about the sr-users mailing list