[SR-Users] why is tcp_send failing?

Daniel-Constantin Mierla miconda at gmail.com
Tue May 15 09:48:22 CEST 2012


Hello,

On 5/15/12 8:29 AM, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>
>> one possibility could be no-connect/connection-reuse option set in
>> cofig, could it be in your case?
> i have not set any such parameters in config.  i'm
> calling set_forward_no_connect() on some requests, but never on
> in-dialog requests.
>
> could it be that set_forward_no_connect() has effect also on subsequent
> requests?
>
> i have not found a corresponding call to turn connect mode back on after
> calling set_forward_no_connect() which i guess means that it has effect
> only during the next transaction.
the flag should not have effect for other requests, unless you set the 
global parameter, but not when you use the function.

To troubleshoot, the code of tcp_send() has to be checked and see where 
it returns error code without a debug message. Is this often or 
occasionally?

Cheers,
Daniel

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda






More information about the sr-users mailing list