Commit ae54c555 authored by Brad Fitzpatrick's avatar Brad Fitzpatrick Committed by Brad Fitzpatrick

http2: rewrite github.com/bradfitz/http2 references to their new paths

parent 17e723d0
...@@ -10,7 +10,7 @@ Status: ...@@ -10,7 +10,7 @@ Status:
* The client work has just started but shares a lot of code * The client work has just started but shares a lot of code
is coming along much quicker. is coming along much quicker.
Docs are at https://godoc.org/github.com/bradfitz/http2 Docs are at https://godoc.org/golang.org/x/net/http2
Demo test server at https://http2.golang.org/ Demo test server at https://http2.golang.org/
......
...@@ -31,7 +31,7 @@ import ( ...@@ -31,7 +31,7 @@ import (
"camlistore.org/pkg/googlestorage" "camlistore.org/pkg/googlestorage"
"camlistore.org/pkg/singleflight" "camlistore.org/pkg/singleflight"
"github.com/bradfitz/http2" "golang.org/x/net/http2"
) )
var ( var (
...@@ -51,7 +51,7 @@ func homeOldHTTP(w http.ResponseWriter, r *http.Request) { ...@@ -51,7 +51,7 @@ func homeOldHTTP(w http.ResponseWriter, r *http.Request) {
<li>Use Firefox Nightly or go to <b>about:config</b> and enable "network.http.spdy.enabled.http2draft"</li> <li>Use Firefox Nightly or go to <b>about:config</b> and enable "network.http.spdy.enabled.http2draft"</li>
<li>Use Google Chrome Canary and/or go to <b>chrome://flags/#enable-spdy4</b> to <i>Enable SPDY/4</i> (Chrome's name for HTTP/2)</li> <li>Use Google Chrome Canary and/or go to <b>chrome://flags/#enable-spdy4</b> to <i>Enable SPDY/4</i> (Chrome's name for HTTP/2)</li>
</ul> </ul>
<p>See code & instructions for connecting at <a href="https://github.com/bradfitz/http2">https://github.com/bradfitz/http2</a>.</p> <p>See code & instructions for connecting at <a href="https://github.com/golang/net/tree/master/http2">https://github.com/golang/net/tree/master/http2</a>.</p>
</body></html>`) </body></html>`)
} }
...@@ -73,12 +73,12 @@ href="https://http2.github.io/">HTTP/2</a> demo & interop server.</p> ...@@ -73,12 +73,12 @@ href="https://http2.github.io/">HTTP/2</a> demo & interop server.</p>
<p>This server exists for others in the HTTP/2 community to test their HTTP/2 client implementations and point out flaws in our server.</p> <p>This server exists for others in the HTTP/2 community to test their HTTP/2 client implementations and point out flaws in our server.</p>
<p> The code is currently at <a <p> The code is currently at <a
href="https://github.com/bradfitz/http2">github.com/bradfitz/http2</a> href="https://golang.org/x/net/http2">github.com/bradfitz/http2</a>
but will move to the Go standard library at some point in the future but will move to the Go standard library at some point in the future
(enabled by default, without users needing to change their code).</p> (enabled by default, without users needing to change their code).</p>
<p>Contact info: <i>bradfitz@golang.org</i>, or <a <p>Contact info: <i>bradfitz@golang.org</i>, or <a
href="https://github.com/bradfitz/http2/issues">file a bug</a>.</p> href="https://golang.org/x/net/http2/issues">file a bug</a>.</p>
<h2>Handlers for testing</h2> <h2>Handlers for testing</h2>
<ul> <ul>
......
...@@ -25,7 +25,7 @@ Later: ...@@ -25,7 +25,7 @@ Later:
## Installation ## Installation
``` ```
$ go get github.com/bradfitz/http2/h2i $ go get golang.org/x/net/http2/h2i
$ h2i <host> $ h2i <host>
``` ```
......
...@@ -36,8 +36,8 @@ import ( ...@@ -36,8 +36,8 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/bradfitz/http2" "golang.org/x/net/http2"
"github.com/bradfitz/http2/hpack" "golang.org/x/net/http2/hpack"
"golang.org/x/crypto/ssh/terminal" "golang.org/x/crypto/ssh/terminal"
) )
......
...@@ -18,7 +18,7 @@ import ( ...@@ -18,7 +18,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/bradfitz/http2/hpack" "golang.org/x/net/http2/hpack"
) )
var knownFailing = flag.Bool("known_failing", false, "Run known-failing tests.") var knownFailing = flag.Bool("known_failing", false, "Run known-failing tests.")
......
...@@ -55,7 +55,7 @@ import ( ...@@ -55,7 +55,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/bradfitz/http2/hpack" "golang.org/x/net/http2/hpack"
) )
const ( const (
......
...@@ -29,7 +29,7 @@ import ( ...@@ -29,7 +29,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/bradfitz/http2/hpack" "golang.org/x/net/http2/hpack"
) )
var stderrVerbose = flag.Bool("stderr_verbose", false, "Mirror verbosity to stderr, unbuffered") var stderrVerbose = flag.Bool("stderr_verbose", false, "Mirror verbosity to stderr, unbuffered")
......
...@@ -19,7 +19,7 @@ import ( ...@@ -19,7 +19,7 @@ import (
"strings" "strings"
"sync" "sync"
"github.com/bradfitz/http2/hpack" "golang.org/x/net/http2/hpack"
) )
type Transport struct { type Transport struct {
......
...@@ -13,7 +13,7 @@ import ( ...@@ -13,7 +13,7 @@ import (
"net/http" "net/http"
"time" "time"
"github.com/bradfitz/http2/hpack" "golang.org/x/net/http2/hpack"
) )
// writeFramer is implemented by any type that is used to write frames. // writeFramer is implemented by any type that is used to write frames.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment