Searched refs:clientPreface (Results 1 – 6 of 6) sorted by relevance
76 clientPreface = []byte(ClientPreface) var
587 cc.bw.Write(clientPreface)
913 } else if !bytes.Equal(buf, clientPreface) {
272 n, err := t.conn.Write(clientPreface)277 if n != len(clientPreface) {279 …ionErrorf(true, err, "transport: preface mismatch, wrote %d bytes; want %d", n, len(clientPreface))
58 clientPreface = []byte(http2.ClientPreface) var
252 preface := make([]byte, len(clientPreface))256 if !bytes.Equal(preface, clientPreface) {