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.3.3 (latest)
Published
Aug 16, 2022
Platform
js/wasm
Imports
1 packages
Last checked
3 hours ago

Tools for package owners.