Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for nextProtosLength (0.59 sec)

  1. src/crypto/tls/handshake_client.go

    	}
    
    	nextProtosLength := 0
    	for _, proto := range config.NextProtos {
    		if l := len(proto); l == 0 || l > 255 {
    			return nil, nil, nil, errors.New("tls: invalid NextProtos value")
    		} else {
    			nextProtosLength += 1 + l
    		}
    	}
    	if nextProtosLength > 0xffff {
    		return nil, nil, nil, errors.New("tls: NextProtos values too large")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 38.6K bytes
    - Viewed (0)
Back to top