diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-03-05 09:59:39 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-03-05 09:59:39 +0000 |
commit | cc343c78ea033c624b8bc4451682052b011ae30e (patch) | |
tree | 1427e51f35258a93939b12d24071c64723f134aa /www/wyvern/files/patch-response.c | |
parent | Add wyvern, a lightweight HTTP server with the simple design, easy (diff) |
Apply a bug-fix submitted by the author.
Notes
Notes:
svn path=/head/; revision=39075
Diffstat (limited to 'www/wyvern/files/patch-response.c')
-rw-r--r-- | www/wyvern/files/patch-response.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/www/wyvern/files/patch-response.c b/www/wyvern/files/patch-response.c new file mode 100644 index 000000000000..3055b87d4e2d --- /dev/null +++ b/www/wyvern/files/patch-response.c @@ -0,0 +1,14 @@ +--- src/response.c.orig Mon Dec 18 01:21:53 2000 ++++ src/response.c Mon Mar 5 18:48:15 2001 +@@ -480,9 +480,11 @@ + sendEntityDone(thd) + Thread * thd; + { ++#if 0 + /* send end line (CRLF only) */ + thd->sendcnt = snprintf(thd->sendbuf, sizeof(thd->sendbuf), "%s", CRLF); + writeData(thd); ++#endif + thd->status = TERMINATED; + #if defined(BUGGY_KEEP_ALIVE) && defined(DEBUG) + if (thd->keepAlive.state == KA_CONTINUE) { |