Browse Source

FIX: EOF disconnect error also called raw handler afterwards

tags/0.2
Joe Higton 10 years ago
parent
commit
97731e1774
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      worker/agent.go

+ 1
- 0
worker/agent.go View File

@@ -66,6 +66,7 @@ func (a *agent) work() {
} else if( err == io.EOF ){
a.disconnect_error(err)
break
}
a.worker.err(err)
// If it is unexpected error and the connection wasn't


Loading…
Cancel
Save