mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-14 20:12:29 -04:00
First of the Networking REWORK checkings. I'm doing these is stages,
so I can properly document what is being changed! Revert / Merge : pqissl / pqissludp code. * restored original timeout system. * removed weird testing code - should never have been here! * switched extra checks to generate ALERT msgs - we want to know if they happen. * removed quietShutdown (breaks TLS protocol - why was this added?) * switched listening on all the time. (helps restore disconnects). * restored common connect parameters (removed duplicates in ssludp). * restored AuthSSL->Failed/CheckCertificate() calls ... useful. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3212 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
afb1d24bc7
commit
69ba03dbd2
3 changed files with 78 additions and 79 deletions
|
@ -177,7 +177,7 @@ virtual int net_internal_fcntl_nonblock(int fd) { return unix_fcntl_nonblock(fd)
|
|||
int pktlen;
|
||||
int total_len ; // saves the reading state accross successive calls.
|
||||
|
||||
//int attempt_ts;
|
||||
int attempt_ts;
|
||||
|
||||
// Some flags to indicate
|
||||
// the status of the various interfaces
|
||||
|
@ -190,13 +190,12 @@ virtual int net_internal_fcntl_nonblock(int fd) { return unix_fcntl_nonblock(fd)
|
|||
|
||||
int n_read_zero; /* a counter to determine if the connection is really dead */
|
||||
|
||||
//int ssl_connect_timeout; /* timeout to ensure that we don't get stuck (can happen on udp!) */
|
||||
int ssl_connect_timeout; /* timeout to ensure that we don't get stuck (can happen on udp!) */
|
||||
|
||||
uint32_t mConnectDelay;
|
||||
time_t mConnectTS;
|
||||
uint32_t mConnectTimeout;
|
||||
time_t mTimeoutTS;
|
||||
bool quietShutdown;
|
||||
|
||||
p3ConnectMgr *mConnMgr;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue