svn commit: r333571 - head/lib/libfetch

Dag-Erling Smørgrav des at FreeBSD.org
Sat May 12 17:02:28 UTC 2018


Author: des
Date: Sat May 12 17:02:27 2018
New Revision: 333571
URL: https://svnweb.freebsd.org/changeset/base/333571

Log:
  Preserve if-modified-since timestamps across redirects.
  
  PR:		224426
  MFC after:	1 week

Modified:
  head/lib/libfetch/http.c

Modified: head/lib/libfetch/http.c
==============================================================================
--- head/lib/libfetch/http.c	Sat May 12 15:35:26 2018	(r333570)
+++ head/lib/libfetch/http.c	Sat May 12 17:02:27 2018	(r333571)
@@ -1874,6 +1874,7 @@ http_request_body(struct url *URL, const char *op, str
 				}
 				new->offset = url->offset;
 				new->length = url->length;
+				new->ims_time = url->ims_time;
 				break;
 			case hdr_transfer_encoding:
 				/* XXX weak test*/


More information about the svn-src-head mailing list