Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1783)

Unified Diff: src/pkg/net/sendfile_windows.go

Issue 12960046: code review 12960046: net: have separate read and write processing threads on... (Closed)
Patch Set: diff -r c3bf615ba223 https://go.googlecode.com/hg/ Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/pkg/net/http/transport_test.go ('k') | src/pkg/net/timeout_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/net/sendfile_windows.go
===================================================================
--- a/src/pkg/net/sendfile_windows.go
+++ b/src/pkg/net/sendfile_windows.go
@@ -42,7 +42,7 @@
o := &fd.wop
o.qty = uint32(n)
o.handle = syscall.Handle(f.Fd())
- done, err := iosrv.ExecIO(o, "TransmitFile", func(o *operation) error {
+ done, err := wsrv.ExecIO(o, "TransmitFile", func(o *operation) error {
return syscall.TransmitFile(o.fd.sysfd, o.handle, o.qty, 0, &o.o, nil, syscall.TF_WRITE_BEHIND)
})
if err != nil {
« no previous file with comments | « src/pkg/net/http/transport_test.go ('k') | src/pkg/net/timeout_test.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b