Subject: Re: sendfile() behavior while troubleshooting netdevice

From: Jarek Poplawski <[email-masked]>
Date: Tue, 29 Jul 2008 09:32:50 +0000

On 29-07-2008 02:07, Jay Cliburn wrote:
...
> file size is 1600 bytes
> received 1592 bytes
> error: expected 1600, received 1592

sfclient.c:
...
		prev = count;
		count += ret;
		if (prev == count) {
			fprintf(stderr, "error: expected %d, received %d\n",
				fsize, count);
--->			exit(1);
		}

Maybe you could try without this exit if anything comes later?

Jarek P.