Update godeps
This commit is contained in:
parent
423433bc5f
commit
701c5a0e30
482 changed files with 86915 additions and 19741 deletions
1
vendor/golang.org/x/net/context/ctxhttp/cancelreq.go
generated
vendored
1
vendor/golang.org/x/net/context/ctxhttp/cancelreq.go
generated
vendored
|
|
@ -9,6 +9,7 @@ package ctxhttp
|
|||
import "net/http"
|
||||
|
||||
func canceler(client *http.Client, req *http.Request) func() {
|
||||
// TODO(djd): Respect any existing value of req.Cancel.
|
||||
ch := make(chan struct{})
|
||||
req.Cancel = ch
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue