Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for QUICConn (0.26 sec)

  1. src/crypto/tls/quic.go

    		return fmt.Sprintf("QUICEncryptionLevel(%v)", int(l))
    	}
    }
    
    // A QUICConn represents a connection which uses a QUIC implementation as the underlying
    // transport as described in RFC 9001.
    //
    // Methods of QUICConn are not safe for concurrent use.
    type QUICConn struct {
    	conn *Conn
    
    	sessionTicketSent bool
    }
    
    // A QUICConfig configures a [QUICConn].
    type QUICConfig struct {
    	TLSConfig *Config
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. api/go1.21.txt

    pkg crypto/tls, method (*QUICConn) Close() error #44886
    pkg crypto/tls, method (*QUICConn) ConnectionState() ConnectionState #44886
    pkg crypto/tls, method (*QUICConn) HandleData(QUICEncryptionLevel, []uint8) error #44886
    pkg crypto/tls, method (*QUICConn) NextEvent() QUICEvent #44886
    pkg crypto/tls, method (*QUICConn) SendSessionTicket(QUICSessionTicketOptions) error #60107
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  3. src/crypto/tls/quic_test.go

    package tls
    
    import (
    	"bytes"
    	"context"
    	"errors"
    	"reflect"
    	"testing"
    )
    
    type testQUICConn struct {
    	t                 *testing.T
    	conn              *QUICConn
    	readSecret        map[QUICEncryptionLevel]suiteSecret
    	writeSecret       map[QUICEncryptionLevel]suiteSecret
    	ticketOpts        QUICSessionTicketOptions
    	onResumeSession   func(*SessionState)
    	gotParams         []byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  4. src/crypto/tls/handshake_server_tls13.go

    		}
    	}
    
    	return nil
    }
    
    func (hs *serverHandshakeStateTLS13) shouldSendSessionTickets() bool {
    	if hs.c.config.SessionTicketsDisabled {
    		return false
    	}
    
    	// QUIC tickets are sent by QUICConn.SendSessionTicket, not automatically.
    	if hs.c.quic != nil {
    		return false
    	}
    
    	// Don't send tickets the client wouldn't use. See RFC 8446, Section 4.2.9.
    	for _, pskMode := range hs.clientHello.pskModes {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 30.5K bytes
    - Viewed (0)
Back to top