[Users] Module tm, function t_lookup_request

Wolfgang Hottgenroth woho at hottis.de
Fri Apr 13 11:33:52 CEST 2007


yep, I saw that function. However, I miss the function
t_retransmit_reply too. I have the following piece of code in my script:

    if (t_lookup_request()) {

This snippet appears very early in the script, before any sophisticated
stuff. Using this code I avoided the handling of retransmitted REQUESTs,
just to recognize the retransmission in the final t_relay statement,
where it would be dropped. Thereby I achieved a remarkable performance
increase, since the handling in between is indeed somewhat resource

What can I do now to achieve the retransmission of the reply? Just use
t_relay and rely on the recognition therein?

Something like this:

    if (method != "ACK" && t_check_trans()) {

In this case, it is crucial, that the retransmission recognition in
t_relay works properly and definitely just a retransmission of the reply
appears and NO relaying to the destination.

Would this work?


Bogdan-Andrei Iancu schrieb:
> Hi Wolfgang,
> the function was replaced by t_check_trans() - a more general
> approach. See:
>    http://www.openser.org/docs/modules/1.2.x/tm.html#AEN459
> regards,
> bogdan
> Wolfgang Hottgenroth wrote:
>> Hi,
>> what happens to the t_lookup_request function of the tm module in the
>> 1.2.0 release? I was using this function in my openser script and no it
>> disappears. Although the underlying t_check function still exists.
>> What is the reason?
>> Thanks,
>> Wolfgang
>> _______________________________________________
>> Users mailing list
>> Users at openser.org
>> http://openser.org/cgi-bin/mailman/listinfo/users

More information about the Users mailing list