Skip to content

Commit

Permalink
Merge pull request #14 from kimw/patch-1
Browse files Browse the repository at this point in the history
Update gq-server.go
  • Loading branch information
cbeuw committed Mar 19, 2018
2 parents 5821ef0 + ad576d2 commit 464a11e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/gq-server/gq-server.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func dispatchConnection(conn net.Conn, sta *gqserver.State) {
for c := 0; c < 2; c++ {
_, err = gqserver.ReadTillDrain(conn)
if err != nil {
log.Printf("Reading discarded message %v: %v\n", err)
log.Printf("Reading discarded message %v: %v\n", c, err)
go conn.Close()
return
}
Expand Down

0 comments on commit 464a11e

Please sign in to comment.