diff --git a/README.rst b/README.rst index 16d21aff..7f6758f3 100644 --- a/README.rst +++ b/README.rst @@ -217,10 +217,10 @@ We have the integration tests for the nghttpx proxy server. The tests are written in the `Go programming language `_ and uses its testing framework. We depend on the following libraries: -* https://github.com/bradfitz/http2 +* golang.org/x/net/http2 +* golang.org/x/net/websocket * https://github.com/tatsuhiro-t/go-nghttp2 * https://github.com/tatsuhiro-t/spdy -* golang.org/x/net/websocket To download the above packages, after settings ``GOPATH``, run the following command under ``integration-tests`` directory:: diff --git a/integration-tests/Makefile.am b/integration-tests/Makefile.am index 5159e038..5b0b71b7 100644 --- a/integration-tests/Makefile.am +++ b/integration-tests/Makefile.am @@ -36,7 +36,7 @@ EXTRA_DIST = \ return.rb itprep-local: - go get -d -v github.com/bradfitz/http2 + go get -d -v golang.org/x/net/http2 go get -d -v github.com/tatsuhiro-t/go-nghttp2 go get -d -v github.com/tatsuhiro-t/spdy go get -d -v golang.org/x/net/websocket diff --git a/integration-tests/nghttpx_http1_test.go b/integration-tests/nghttpx_http1_test.go index e10f0d2d..145848fa 100644 --- a/integration-tests/nghttpx_http1_test.go +++ b/integration-tests/nghttpx_http1_test.go @@ -4,7 +4,7 @@ import ( "bufio" "bytes" "fmt" - "github.com/bradfitz/http2/hpack" + "golang.org/x/net/http2/hpack" "golang.org/x/net/websocket" "io" "net/http" diff --git a/integration-tests/nghttpx_http2_test.go b/integration-tests/nghttpx_http2_test.go index 6d027659..0451866e 100644 --- a/integration-tests/nghttpx_http2_test.go +++ b/integration-tests/nghttpx_http2_test.go @@ -3,8 +3,8 @@ package nghttp2 import ( "crypto/tls" "fmt" - "github.com/bradfitz/http2" - "github.com/bradfitz/http2/hpack" + "golang.org/x/net/http2" + "golang.org/x/net/http2/hpack" "io" "io/ioutil" "net/http" diff --git a/integration-tests/nghttpx_spdy_test.go b/integration-tests/nghttpx_spdy_test.go index 5f92887f..e9bf1afc 100644 --- a/integration-tests/nghttpx_spdy_test.go +++ b/integration-tests/nghttpx_spdy_test.go @@ -1,7 +1,7 @@ package nghttp2 import ( - "github.com/bradfitz/http2/hpack" + "golang.org/x/net/http2/hpack" "github.com/tatsuhiro-t/spdy" "net/http" "testing" diff --git a/integration-tests/server_tester.go b/integration-tests/server_tester.go index 8b6c4faa..0a544eb8 100644 --- a/integration-tests/server_tester.go +++ b/integration-tests/server_tester.go @@ -6,8 +6,8 @@ import ( "crypto/tls" "errors" "fmt" - "github.com/bradfitz/http2" - "github.com/bradfitz/http2/hpack" + "golang.org/x/net/http2" + "golang.org/x/net/http2/hpack" "github.com/tatsuhiro-t/go-nghttp2" "github.com/tatsuhiro-t/spdy" "golang.org/x/net/websocket"