pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/libfetch/files
Module Name: pkgsrc
Committed By: joerg
Date: Thu Oct 20 21:21:25 UTC 2016
Modified Files:
pkgsrc/net/libfetch/files: http.c
Log Message:
Only set the cached flag when the connection is actually cached. New
connections should not have it set. This changes the behavior of
timeouts on the first read.
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 pkgsrc/net/libfetch/files/http.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/libfetch/files/http.c
diff -u pkgsrc/net/libfetch/files/http.c:1.38 pkgsrc/net/libfetch/files/http.c:1.39
--- pkgsrc/net/libfetch/files/http.c:1.38 Mon Feb 8 13:27:42 2016
+++ pkgsrc/net/libfetch/files/http.c Thu Oct 20 21:21:25 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: http.c,v 1.38 2016/02/08 13:27:42 jperkin Exp $ */
+/* $NetBSD: http.c,v 1.39 2016/10/20 21:21:25 joerg Exp $ */
/*-
* Copyright (c) 2000-2004 Dag-Erling Co�dan Sm�rgrav
* Copyright (c) 2003 Thomas Klausner <wiz%NetBSD.org@localhost>
@@ -719,7 +719,7 @@ http_connect(struct url *URL, struct url
int val;
#endif
- *cached = 1;
+ *cached = 0;
#ifdef INET6
af = AF_UNSPEC;
Home |
Main Index |
Thread Index |
Old Index