Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for QUICConn (0.14 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. doc/next/6-stdlib/99-minor/crypto/tls/63691.md

    The [QUICConn] type used by QUIC implementations includes new events
    reporting on the state of session resumption, and provides a way for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 211 bytes
    - Viewed (0)
  3. 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)
  4. src/crypto/tls/alert.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package tls
    
    import "strconv"
    
    // An AlertError is a TLS alert.
    //
    // When using a QUIC transport, QUICConn methods will return an error
    // which wraps AlertError rather than sending a TLS alert.
    type AlertError uint8
    
    func (e AlertError) Error() string {
    	return alert(e).String()
    }
    
    type alert uint8
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. 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)
  6. api/go1.23.txt

    pkg crypto/tls, const QUICStoreSession = 9 #63691
    pkg crypto/tls, const QUICStoreSession QUICEventKind #63691
    pkg crypto/tls, method (*ECHRejectionError) Error() string #63369
    pkg crypto/tls, method (*QUICConn) StoreSession(*SessionState) error #63691
    pkg crypto/tls, type Config struct, EncryptedClientHelloConfigList []uint8 #63369
    pkg crypto/tls, type Config struct, EncryptedClientHelloRejectionVerify func(ConnectionState) error #63369
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 20:48:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*Dialer).Dial", Method, 15},
    		{"(*Dialer).DialContext", Method, 15},
    		{"(*QUICConn).Close", Method, 21},
    		{"(*QUICConn).ConnectionState", Method, 21},
    		{"(*QUICConn).HandleData", Method, 21},
    		{"(*QUICConn).NextEvent", Method, 21},
    		{"(*QUICConn).SendSessionTicket", Method, 21},
    		{"(*QUICConn).SetTransportParameters", Method, 21},
    		{"(*QUICConn).Start", Method, 21},
    		{"(*SessionState).Bytes", Method, 21},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top