diff options
author | tron <tron@pkgsrc.org> | 2002-06-12 21:51:28 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2002-06-12 21:51:28 +0000 |
commit | c29c5dea20c0a257efc139f2bd62d3c4409f427e (patch) | |
tree | 9464e89f93c5cb0d2d124b3a4de60322b2dc8474 /misc | |
parent | e247d1448f06150794fe25ec57fef4a095188608 (diff) | |
download | pkgsrc-c29c5dea20c0a257efc139f2bd62d3c4409f427e.tar.gz |
"bidwatcher" tries to use HTTP/1.1 but is not able to handle persistant
connections. Use "Connection: close" in HTTP request headers to avoid
network timeout caused by this bug. Bump version number to 1.3.4nb2.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/bidwatcher/Makefile | 4 | ||||
-rw-r--r-- | misc/bidwatcher/distinfo | 4 | ||||
-rw-r--r-- | misc/bidwatcher/patches/patch-aa | 13 |
3 files changed, 15 insertions, 6 deletions
diff --git a/misc/bidwatcher/Makefile b/misc/bidwatcher/Makefile index 84ca010057d..2803b87a21b 100644 --- a/misc/bidwatcher/Makefile +++ b/misc/bidwatcher/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.11 2002/06/10 15:58:34 tron Exp $ +# $NetBSD: Makefile,v 1.12 2002/06/12 21:51:28 tron Exp $ DISTNAME= bidwatcher-1.3.4 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bidwatcher/} EXTRACT_SUFX= -fix.tar.gz diff --git a/misc/bidwatcher/distinfo b/misc/bidwatcher/distinfo index a6737f5077b..ab3658eee3d 100644 --- a/misc/bidwatcher/distinfo +++ b/misc/bidwatcher/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.10 2002/06/12 13:55:06 tron Exp $ +$NetBSD: distinfo,v 1.11 2002/06/12 21:51:28 tron Exp $ SHA1 (bidwatcher-1.3.4-fix.tar.gz) = cc891a06f7a0e4e7d610198569a3ca3066111a34 Size (bidwatcher-1.3.4-fix.tar.gz) = 144948 bytes -SHA1 (patch-aa) = 4004bf26790989c0bf3f751f1070033c198e22b5 +SHA1 (patch-aa) = 456a4da007b86721100c6d6caa79b2c21003b413 diff --git a/misc/bidwatcher/patches/patch-aa b/misc/bidwatcher/patches/patch-aa index ce07ffcefce..078a70592ba 100644 --- a/misc/bidwatcher/patches/patch-aa +++ b/misc/bidwatcher/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.7 2002/06/12 13:55:06 tron Exp $ +$NetBSD: patch-aa,v 1.8 2002/06/12 21:51:28 tron Exp $ --- netstuff.cpp.orig Thu Jun 6 03:52:08 2002 -+++ netstuff.cpp Wed Jun 12 15:51:57 2002 ++++ netstuff.cpp Wed Jun 12 23:46:36 2002 @@ -247,6 +247,8 @@ fd_set fds; struct timeval tm; @@ -11,3 +11,12 @@ $NetBSD: patch-aa,v 1.7 2002/06/12 13:55:06 tron Exp $ GTimer * time_since_start=g_timer_new(); g_timer_start(time_since_start); +@@ -330,7 +332,7 @@ + } + + // send our request for the web page. +- sprintf(lineBuff, "GET %s HTTP/1.1\r\nHost: %s\r\nUser-Agent: bidwatcher\r\n%s\r\n", url->url, url->hostinfo->h_name, cookie); ++ sprintf(lineBuff, "GET %s HTTP/1.1\r\nConnection: close\r\nHost: %s\r\nUser-Agent: bidwatcher\r\n%s\r\n", url->url, url->hostinfo->h_name, cookie); + + if (send(socketID, lineBuff, strlen(lineBuff), 0) < 0) { + #ifdef DEBUG_NETWORK |