From: Emmanuel T Odeke
Date: Wed, 5 Feb 2020 19:09:34 +0000 (-0800)
Subject: doc/go1.14: document http.ServeFile large file fix for Windows
X-Git-Tag: go1.14~10^2~8
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=60f11c44c0;p=gostls13.git
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
---
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.
+