Fix #532. Don't log graphite connection EOF as an error
parent
4a1f0becd3
commit
3984a1c4b5
|
@ -3,6 +3,7 @@
|
|||
### Bugfixes
|
||||
|
||||
- [Issue #516](https://github.com/influxdb/influxdb/issues/516). Close WAL log/index files when they aren't being used
|
||||
- [Issue #532](https://github.com/influxdb/influxdb/issues/532). Don't log graphite connection EOF as an error
|
||||
|
||||
## v0.6.2 [2014-05-09]
|
||||
|
||||
|
|
|
@ -18,6 +18,7 @@ import (
|
|||
. "common"
|
||||
"configuration"
|
||||
"coordinator"
|
||||
"io"
|
||||
"net"
|
||||
"protocol"
|
||||
"time"
|
||||
|
@ -121,6 +122,10 @@ func (self *Server) handleClient(conn net.Conn) {
|
|||
graphiteMetric := &GraphiteMetric{}
|
||||
err := graphiteMetric.Read(reader)
|
||||
if err != nil {
|
||||
if io.EOF == err {
|
||||
log.Debug("Client closed graphite connection")
|
||||
return
|
||||
}
|
||||
log.Error(err)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue