summaryrefslogtreecommitdiff
path: root/src/daq
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2017-07-13 12:07:32 +0200
committerChristian Pointner <equinox@spreadspace.org>2017-07-13 12:07:32 +0200
commit92d690733dee358f9c74e4ef1b6afdd3176a4dad (patch)
tree07ee84f80b0aba6186f3e859ad9fe022054fda09 /src/daq
parentfirst steps towards clean shutdown (diff)
cleaner shutdown for pipgram interface
Diffstat (limited to 'src/daq')
-rw-r--r--src/daq/s5proxy/src/s5proxy/proxy.go2
1 files changed, 1 insertions, 1 deletions
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