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.0.0
Published
Jul 9, 2019
Platform
js/wasm
Imports
1 packages
Last checked
1 hour ago

Tools for package owners.