forked from yuxh/gearman-go
		
	FIX: EOF disconnect error also called raw handler afterwards
This commit is contained in:
		
							parent
							
								
									09c626f488
								
							
						
					
					
						commit
						97731e1774
					
				@ -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…
	
		Reference in New Issue
	
	Block a user