View | Details | Raw Unified | Return to bug 169582
Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	tinytinyhttpd
8
PORTNAME=	tinytinyhttpd
9
PORTVERSION=	0.0.9
9
PORTVERSION=	0.0.11
10
CATEGORIES=	www
10
CATEGORIES=	www
11
MASTER_SITES=	http://cloud.github.com/downloads/mattn/tinytinyhttpd/ \
11
MASTER_SITES=	http://cloud.github.com/downloads/mattn/tinytinyhttpd/ \
12
		${MASTER_SITE_LOCAL}
12
		${MASTER_SITE_LOCAL}
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (tinytinyhttpd-0.0.9.tar.gz) = 374041df75722920a355b3284d242a9fcdf009cc7c67078fd527c2682462792f
1
SHA256 (tinytinyhttpd-0.0.11.tar.gz) = 844150ef4f88b3d198273937861e3e9a3854b412f29b8be64ea01e9de7c71e9a
2
SIZE (tinytinyhttpd-0.0.9.tar.gz) = 147412
2
SIZE (tinytinyhttpd-0.0.11.tar.gz) = 154501
(-)files/patch-httpd.cxx (-13 lines)
Removed Link Here
1
diff --git httpd.cxx httpd.cxx
2
index 98cec3c..958200a 100644
3
--- httpd.cxx
4
+++ httpd.cxx
5
@@ -1734,7 +1734,7 @@ request_done:
6
 #if defined LINUX_SENDFILE_API
7
 			sent = sendfile(msgsock, fileno(res_info->read), NULL, total);
8
 #elif defined FREEBSD_SENDFILE_API
9
-			sendfile(msgsock, fileno(res_info->read), total, &sent, NULL, 0);
10
+			if (sendfile(msgsock, fileno(res_info->read), NULL, total, NULL, NULL, 0) == 0) sent = total;
11
 #elif defined _WIN32
12
 			if (!res_info->process && lpfnTransmitFile && lpfnTransmitFile(
13
 				msgsock,

Return to bug 169582