package nosigpipe

import "github.com/google/martian/v3/nosigpipe"

Index

Functions

func IgnoreSIGPIPE

func IgnoreSIGPIPE(c net.Conn)

IgnoreSIGPIPE prevents SIGPIPE from being raised on TCP sockets when remote hangs up See: https://github.com/golang/go/issues/17393. Do nothing for non Darwin

Source Files

nosigpipe.go

Version
v3.2.1
Published
May 19, 2021
Platform
windows/amd64
Imports
1 packages
Last checked
1 hour ago

Tools for package owners.