mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	An EOF is a good reason to close a connection.
ok nicm@
This commit is contained in:
		@@ -224,7 +224,7 @@ server_client_callback(int fd, short events, void *data)
 | 
			
		||||
		return;
 | 
			
		||||
 | 
			
		||||
	if (fd == c->ibuf.fd) {
 | 
			
		||||
		if (events & EV_WRITE && msgbuf_write(&c->ibuf.w) < 0 &&
 | 
			
		||||
		if (events & EV_WRITE && msgbuf_write(&c->ibuf.w) <= 0 &&
 | 
			
		||||
		    errno != EAGAIN)
 | 
			
		||||
			goto client_lost;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user