ws: allow to set Origin header and default to nil

This commit is contained in:
nadoo committed 2020-11-07 19:20:35 +08:00
1 parent 8a2e95b17e
commit 4887089a4b
6 files changed
+12 -8

No files matched your search

+1 -1
View File
@@ -216,7 +216,7 @@ func (t *tls12TicketAuth) Encode(data []byte) (encodedData []byte, err error) {
encodedData[pdata-1] = 0x1
encodedData[pdata-2] = 0x3 // tls version
pdata -= 2
l += 2
// l += 2
encodedData[pdata-1] = 0x16 // tls handshake
// pdata -= 1
// l += 1