[SR-Users] WARNING: script writer didn't release transaction

Juha Heinanen jh at tutpro.com
Thu Oct 7 15:15:54 CEST 2010


Andrei Pelinescu-Onciul writes:

> The transaction are freed automatically in sr too, but the message is
> there to show a script bug (transaction created but no action taken, no
>  forward, no reply, no release).

ok, that came because of the buggy www_challenge() that existed the script
without sending the reply statefully.
> 
> You don't need t_release(). t_reply() or t_relay() is enough.
> Looking at the example the only case where it doesn't t_reply() is if
> authentication is successful and the request is not a REGISTER.
> You probably forgot to t_relay() after authentication or you
> sl_send_reply()ed and authenticated request (for which a transaction was
>  already created).

see above.  www_challenge()/proxy_challenge() need to be fixed.

-- juha



More information about the sr-users mailing list