Date: Sat, 22 Sep 2007 01:03:07 -0300 From: Marcus Alves Grand <mnag@FreeBSD.org> To: freebsd-current@freebsd.org, andre@FreeBSD.org Subject: sendfile() without struct sf_hdtr broken since rev 1.256 Message-ID: <46F493FB.6020603@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
People, Since rev 1.256 sendfile broken lighttpd sendfile() that doesn´t use struct sf_hdtr. Sometimes sendfile works sometimes not like you can see below: ------- # wget -O /dev/null http://another.host/30M --00:58:22-- http://another.host/30M => `/dev/null' Resolving another.host... X.X.X.X Connecting to another.host|X.X.X.X|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 31,457,280 (30M) [text/plain] 100%[====================================================================================================>] 31,457,280 10.60M/s 00:58:25 (10.59 MB/s) - `/dev/null' saved [31457280/31457280] # wget -O /dev/null http://another.host/30M --00:58:26-- http://another.host/30M => `/dev/null' Resolving another.host... X.X.X.X Connecting to another.host|X.X.X.X|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 31,457,280 (30M) [text/plain] 1% [> ] 409,600 --.--K/s 00:58:26 (5.51 MB/s) - Connection closed at byte 409600. Retrying. --00:58:27-- http://another.host/30M (try: 2) => `/dev/null' Connecting to another.host|X.X.X.X|:80... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 31,457,280 (30M), 31,047,680 (30M) remaining [text/plain] 2% [+> ] 774,144 --.--K/s 00:58:27 (4.27 MB/s) - Connection closed at byte 774144. Retrying. ------ rev 1.256: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/uipc_syscalls.c.diff?r1=1.255;r2=1.256 Regards
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46F493FB.6020603>