Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for writeRecordLocked (0.14 sec)

  1. src/crypto/tls/conn.go

    	return n, err
    }
    
    // outBufPool pools the record-sized scratch buffers used by writeRecordLocked.
    var outBufPool = sync.Pool{
    	New: func() any {
    		return new([]byte)
    	},
    }
    
    // writeRecordLocked writes a TLS record with the given type and payload to the
    // connection and updates the record layer state.
    func (c *Conn) writeRecordLocked(typ recordType, data []byte) (int, error) {
    	if c.quic != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
Back to top