Source file src/vendor/golang.org/x/net/quic/ping.go

     1  // Copyright 2023 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package quic
     6  
     7  import "time"
     8  
     9  func (c *Conn) ping(space numberSpace) {
    10  	c.sendMsg(func(now time.Time, c *Conn) {
    11  		c.testSendPing.setUnsent()
    12  		c.testSendPingSpace = space
    13  	})
    14  }
    15  

View as plain text