< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate-users] Unexpected TCP connection termination disturbing call setup


Hello,

  I obtained a workaround to the problem of TCP connection drops, as
follows:
    
  - Declared a member mLastErrno, in Connection.hxx
  - Assigned the value obtained by getErrNo() to mLastErrno, in
TcpConnection.cxx
  - Tested mLastErrno (instead of errno) against EAGAIN and EWOULDBLOCK, in
Connection.cxx.
  
  That worked here, avoiding entering the "if" (as originally intended). 
  I'll use this quick fix until an official fix comes in a future revision.

Regards,
Julio.