package nosigpipe

import "github.com/google/martian/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
v2.1.0+incompatible (latest)
Published
Sep 28, 2018
Platform
linux/amd64
Imports
1 packages
Last checked
6 hours ago

Tools for package owners.