mirror of https://github.com/golang/go.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 <iant@golang.org>
This commit is contained in:
parent
8a4d05cf07
commit
60f11c44c0
|
|
@ -682,6 +682,11 @@ appropriately.)
|
|||
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 -->
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue