summaryrefslogtreecommitdiff
path: root/libgo/go/net/http/http.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/net/http/http.go')
-rw-r--r--libgo/go/net/http/http.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/libgo/go/net/http/http.go b/libgo/go/net/http/http.go
index ce0eceb1de3..624b2cfe695 100644
--- a/libgo/go/net/http/http.go
+++ b/libgo/go/net/http/http.go
@@ -11,7 +11,7 @@ import (
"time"
"unicode/utf8"
- "golang_org/x/net/http/httpguts"
+ "internal/x/net/http/httpguts"
)
// maxInt64 is the effective "infinite" value for the Server and
@@ -135,6 +135,10 @@ type Pusher interface {
// data that may trigger a request for URL X. This avoids a race where the
// client issues requests for X before receiving the PUSH_PROMISE for X.
//
+ // Push will run in a separate goroutine making the order of arrival
+ // non-deterministic. Any required synchronization needs to be implemented
+ // by the caller.
+ //
// Push returns ErrNotSupported if the client has disabled push or if push
// is not supported on the underlying connection.
Push(target string, opts *PushOptions) error