From 60f11c44c02ff815e02d1e59839c6c0bf3f6605e Mon Sep 17 00:00:00 2001
From: Emmanuel T Odeke
Date: Wed, 5 Feb 2020 11:09:34 -0800
Subject: [PATCH] doc/go1.14: document http.ServeFile large file fix for
Windows
Document that for Windows, net/http.ServeFile can now
correctly serve files >2GB after we fixed internal/poll.SendFile
to transmit files larger than the default Windows limit of 2GB.
References: CL 192518, CL 194218
Updates #36878
Change-Id: Ibefc8b2841bc0cee3a89884a680085f99d2b6928
Reviewed-on: https://go-review.googlesource.com/c/go/+/217779
Reviewed-by: Ian Lance Taylor
---
doc/go1.14.html | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/doc/go1.14.html b/doc/go1.14.html
index f5e878e9df..c863da42fa 100644
--- a/doc/go1.14.html
+++ b/doc/go1.14.html
@@ -682,6 +682,11 @@ appropriately.)
use DialTLSContext
, which allows the transport to
cancel dials as soon as they are no longer needed.
+
+
+ On Windows, ServeFile
now correctly
+ serves files larger than 2GB.
+
--
2.48.1