Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for handlePath (0.35 sec)

  1. src/crypto/tls/quic_test.go

    	onEvent := func(e QUICEvent, src, dst *testQUICConn) bool {
    		if e.Kind == QUICWriteData {
    			// Provide the data one byte at a time.
    			for i := range e.Data {
    				if err := dst.conn.HandleData(e.Level, e.Data[i:i+1]); err != nil {
    					t.Errorf("HandleData: %v", err)
    					break
    				}
    			}
    			return true
    		}
    		return false
    	}
    	if err := runTestQUICConnection(context.Background(), cli, srv, onEvent); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  2. src/crypto/tls/quic.go

    	for range q.conn.quic.blockedc {
    		// Wait for the handshake goroutine to return.
    	}
    	return q.conn.handshakeErr
    }
    
    // HandleData handles handshake bytes received from the peer.
    // It may produce connection events, which may be read with [QUICConn.NextEvent].
    func (q *QUICConn) HandleData(level QUICEncryptionLevel, data []byte) error {
    	c := q.conn
    	if c.in.level != level {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top