-
- Downloads
Project 'savoirfairelinux/ring-client-android' was moved to 'savoirfairelinux/jami-client-android'. Please update any links and bookmarks that may still have the old path.
jamiaccount: do not cancel connecting request on sip timeout
During a connectivityChange(), a SIP channel can be used to send messages but will close a few seconds after (due to a timeout or keep alive). However, every message failing was closing connections (including the current outgoing requests) and re-asking a socket. Causing multiple connection request to be sent (because the request was erased just after). Also, to avoid to ask for multiple SIP channels on the same socket this patch introduces ConnectionManager::isConnecting(). Note: erasing the request was causing a lot of "no response from DHT" in the logs because the request was destroyed directly. Change-Id: Ie06f377743075d4a6cb6a4bb6c940bd7b23f1603 GitLab: #512 GitLab: #421
Showing
- src/jamidht/connectionmanager.cpp 7 additions, 0 deletionssrc/jamidht/connectionmanager.cpp
- src/jamidht/connectionmanager.h 9 additions, 0 deletionssrc/jamidht/connectionmanager.h
- src/jamidht/jamiaccount.cpp 51 additions, 53 deletionssrc/jamidht/jamiaccount.cpp
- src/jamidht/jamiaccount.h 12 additions, 2 deletionssrc/jamidht/jamiaccount.h
- test/unitTest/connectionManager/connectionManager.cpp 48 additions, 0 deletionstest/unitTest/connectionManager/connectionManager.cpp
Loading
Please register or sign in to comment