From 92d690733dee358f9c74e4ef1b6afdd3176a4dad Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 13 Jul 2017 12:07:32 +0200 Subject: cleaner shutdown for pipgram interface --- src/daq/s5proxy/src/s5proxy/proxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/daq') diff --git a/src/daq/s5proxy/src/s5proxy/proxy.go b/src/daq/s5proxy/src/s5proxy/proxy.go index 3bb0afb..f994982 100644 --- a/src/daq/s5proxy/src/s5proxy/proxy.go +++ b/src/daq/s5proxy/src/s5proxy/proxy.go @@ -212,7 +212,7 @@ func (p *Proxy) Run() error { httpsL := m.Match(cmux.Any()) go p.RunHTTPS(httpsL) - if err := m.Serve(); !strings.Contains(err.Error(), "use of closed network connection") { + if err := m.Serve(); !strings.Contains(err.Error(), "use of closed network connection") { // TODO: is this really the best way to do this? return err } return nil -- cgit v1.2.3