Skip to content

Commit

Permalink
Fix comenting style
Browse files Browse the repository at this point in the history
In order to adhere to Go coding style.
  • Loading branch information
stv0g committed Nov 13, 2022
1 parent 85bda0b commit dbb9a44
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -1000,12 +1000,11 @@ func (a *Agent) sendBindingSuccess(m *stun.Message, local, remote Candidate) {
}
}

/* Removes pending binding requests that are over maxBindingRequestTimeout old
Let HTO be the transaction timeout, which SHOULD be 2*RTT if
RTT is known or 500 ms otherwise.
https://tools.ietf.org/html/rfc8445#appendix-B.1
*/
// Removes pending binding requests that are over maxBindingRequestTimeout old
//
// Let HTO be the transaction timeout, which SHOULD be 2*RTT if
// RTT is known or 500 ms otherwise.
// https://tools.ietf.org/html/rfc8445#appendix-B.1
func (a *Agent) invalidatePendingBindingRequests(filterTime time.Time) {
initialSize := len(a.pendingBindingRequests)

Expand Down

0 comments on commit dbb9a44

Please sign in to comment.