Skip to content

Commit

Permalink
doc/go1.14: document http.ServeFile large file fix for Windows
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
odeke-em committed Feb 5, 2020
1 parent 8a4d05c commit 60f11c4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/go1.14.html
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,11 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
use <code>DialTLSContext</code>, which allows the transport to
cancel dials as soon as they are no longer needed.
</p>

<p><!-- CL 192518, CL 194218 -->
On Windows, <a href="/pkg/net/http/#ServeFile"><code>ServeFile</code></a> now correctly
serves files larger than 2GB.
</p>
</dd>
</dl><!-- net/http -->

Expand Down

0 comments on commit 60f11c4

Please sign in to comment.