comparison common-channel.c @ 513:a3748e54273c

Idle timeout patch from Farrell Aultman. Needs testing, unsure if server code works
author Matt Johnston <matt@ucc.asn.au>
date Fri, 07 Nov 2008 14:11:06 +0000
parents 950c38b854a1
children a98a2138364a
comparison
equal deleted inserted replaced
510:b85507ade010 513:a3748e54273c
689 689
690 if (channel->recv_eof) { 690 if (channel->recv_eof) {
691 dropbear_exit("received data after eof"); 691 dropbear_exit("received data after eof");
692 } 692 }
693 693
694 if (fd < 0) { 694 if (fd < 0) {
695 /* If we have encountered failed write, the far side might still 695 /* If we have encountered failed write, the far side might still
696 * be sending data without having yet received our close notification. 696 * be sending data without having yet received our close notification.
697 * We just drop the data. */ 697 * We just drop the data. */
698 return; 698 return;
699 } 699 }