@@ -306,6 +306,8 @@ func (m *TimeoutManager) Sent(msg Message, resent bool) {
306306		// we're resending the SYN message. This might occur multiple 
307307		// times until we receive the corresponding response. 
308308		m .handshakeBooster .Boost ()
309+ 		m .log .Debugf ("Boosted handshakeTimeout to %v" ,
310+ 			m .handshakeBooster .GetCurrentTimeout ())
309311
310312	case  * PacketData :
311313		m .sentTimesMu .Lock ()
@@ -319,6 +321,8 @@ func (m *TimeoutManager) Sent(msg Message, resent bool) {
319321			delete (m .sentTimes , msg .Seq )
320322
321323			m .resendBooster .Boost ()
324+ 			m .log .Debugf ("Boosted resendTimeout to %v" ,
325+ 				m .resendBooster .GetCurrentTimeout ())
322326
323327			return 
324328		}
@@ -411,7 +415,7 @@ func (m *TimeoutManager) updateResendTimeoutUnsafe(responseTime time.Duration) {
411415		multipliedTimeout  =  minimumResendTimeout 
412416	}
413417
414- 	m .log .Tracef ("Updating resendTimeout to %v" , multipliedTimeout )
418+ 	m .log .Debugf ("Updating resendTimeout to %v" , multipliedTimeout )
415419
416420	m .resendTimeout  =  multipliedTimeout 
417421
@@ -428,8 +432,6 @@ func (m *TimeoutManager) GetResendTimeout() time.Duration {
428432
429433	resendTimeout  :=  m .resendBooster .GetCurrentTimeout ()
430434
431- 	m .log .Debugf ("Returning resendTimeout %v" , resendTimeout )
432- 
433435	return  resendTimeout 
434436}
435437
@@ -440,8 +442,6 @@ func (m *TimeoutManager) GetHandshakeTimeout() time.Duration {
440442
441443	handshake  :=  m .handshakeBooster .GetCurrentTimeout ()
442444
443- 	m .log .Debugf ("Returning handshakeTimeout %v" , handshake )
444- 
445445	return  handshake 
446446}
447447
0 commit comments