[Users] Serial forking and accounting

Andreas Granig andreas.granig at inode.info
Mon Aug 7 19:43:19 CEST 2006


Daniel-Constantin Mierla wrote:
> try to use acc_db_request() instead of db_missed_flag for failed 
> transactions. Maybe a look into the code would reveal how the callbacks 
> for accounting are executed and so see if resetting the missed flag in 
> failure route will prevent logging the 404.

By resetting the flag in the reply route the acc record can be 
suppressed, but it would be an ugly hack to check in the reply route if 
there will be serial forking in the failure route.

On the other hand, acc_db_request() doesn't log the response code if 
called in the failure route, so it seems to become be a hack anyway.

Thanks,
Andy




More information about the sr-users mailing list