Skip to content

Commit

Permalink
fast close
Browse files Browse the repository at this point in the history
  • Loading branch information
lixizan committed Mar 8, 2023
1 parent 0b9bf27 commit 264af19
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ func (c *dialer) stradd(ss ...string) string {

// 生成报文
func (c *dialer) generateTelegram() []byte {
c.option.RequestHeader.Set("X-Server", "gws")
if c.option.RequestHeader.Get(internal.SecWebSocketKey.Key) == "" {
var key [16]byte
binary.BigEndian.PutUint64(key[0:8], internal.AlphabetNumeric.Uint64())
Expand Down

0 comments on commit 264af19

Please sign in to comment.