Closed asedov closed 2 years ago
This code
... ctx, cancel := context.WithCancel(context.Background()) go func() { time.Sleep(time.Second) cancel() }() err = server.ListenAndServe(ctx) if err != nil && !errors.Is(err, http.ErrServerClosed) { log.Println(err) } ...
throws false positive errors:
conn.go:83: decryption failed: read tcp 192.168.1.2:38891->192.168.1.3:58876: use of closed network connection conn.go:83: decryption failed: read tcp 192.168.1.2:38891->192.168.1.4:49476: use of closed network connection accept tcp [::]: 38891: use of closed network connection
Thanks.
Thanks
This code
throws false positive errors:
Thanks.