Commit f5169e00 authored by Simon Morlat's avatar Simon Morlat
Browse files

ignore tunnel transmissions errors (usually when not ready) for SIP

parent d93727e8
......@@ -31,15 +31,16 @@ Mutex TunnelManager::sMutex;
int TunnelManager::eXosipSendto(int fd,const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen,void* userdata){
TunnelManager* lTunnelMgr=(TunnelManager*)userdata;
int err;
if (lTunnelMgr->mSipSocket==NULL){
return len;//let ignore the error
return len;
return err;
//ignore the error in all cases, retransmissions might be successful.
return len;
int TunnelManager::eXosipRecvfrom(int fd, void *buf, size_t len, int flags, struct sockaddr *from, socklen_t *fromlen,void* userdata){
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment