Browse Source

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

Brad Fitzpatrick 10 years ago
parent
commit
ae54c55587
9 changed files with 13 additions and 13 deletions
  1. 1 1
      http2/README
  2. 4 4
      http2/h2demo/h2demo.go
  3. 1 1
      http2/h2i/README.md
  4. 2 2
      http2/h2i/h2i.go
  5. 1 1
      http2/http2_test.go
  6. 1 1
      http2/server.go
  7. 1 1
      http2/server_test.go
  8. 1 1
      http2/transport.go
  9. 1 1
      http2/write.go

+ 1 - 1
http2/README

@@ -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/
 
 

+ 4 - 4
http2/h2demo/h2demo.go

@@ -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) {
    <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>
 <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>

+ 1 - 1
http2/h2i/README.md

@@ -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>
 ```
 ```
 
 

+ 2 - 2
http2/h2i/h2i.go

@@ -36,8 +36,8 @@ import (
 	"strconv"
 	"strconv"
 	"strings"
 	"strings"
 
 
-	"github.com/bradfitz/http2"
-	"github.com/bradfitz/http2/hpack"
+	"golang.org/x/net/http2"
+	"golang.org/x/net/http2/hpack"
 	"golang.org/x/crypto/ssh/terminal"
 	"golang.org/x/crypto/ssh/terminal"
 )
 )
 
 

+ 1 - 1
http2/http2_test.go

@@ -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.")

+ 1 - 1
http2/server.go

@@ -55,7 +55,7 @@ import (
 	"sync"
 	"sync"
 	"time"
 	"time"
 
 
-	"github.com/bradfitz/http2/hpack"
+	"golang.org/x/net/http2/hpack"
 )
 )
 
 
 const (
 const (

+ 1 - 1
http2/server_test.go

@@ -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")

+ 1 - 1
http2/transport.go

@@ -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 {

+ 1 - 1
http2/write.go

@@ -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.