This repository was archived by the owner on Jul 18, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package http2
22
3- import (
4- "net"
5- )
3+ import "net"
64
75// ListenSession is a session manager which accepts new
86// connections and spawns spdy connection managers.
Original file line number Diff line number Diff line change @@ -2,9 +2,10 @@ package http2
22
33import (
44 "bytes"
5- "github.com/docker/libchan"
65 "net"
76 "testing"
7+
8+ "github.com/docker/libchan"
89)
910
1011func TestListenSession (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -8,12 +8,13 @@ import (
88 "encoding/base64"
99 "errors"
1010 "fmt"
11- "github.com/docker/spdystream"
1211 "io"
1312 "net"
1413 "net/http"
1514 "os"
1615 "syscall"
16+
17+ "github.com/docker/spdystream"
1718)
1819
1920// Authenticator is a function to provide authentication to
Original file line number Diff line number Diff line change @@ -2,13 +2,14 @@ package http2
22
33import (
44 "encoding/base64"
5- "github.com/docker/libchan"
6- "github.com/docker/spdystream"
75 "io"
86 "net"
97 "net/http"
108 "os"
119 "sync"
10+
11+ "github.com/docker/libchan"
12+ "github.com/docker/spdystream"
1213)
1314
1415// StreamSession is a session manager on top of a network
Original file line number Diff line number Diff line change @@ -2,13 +2,15 @@ package http2
22
33import (
44 "bytes"
5+
56 "github.com/docker/libchan"
67 //"github.com/docker/spdystream"
7- "github.com/docker/libchan/unix"
88 "io"
99 "net"
1010 "os"
1111 "testing"
12+
13+ "github.com/docker/libchan/unix"
1214)
1315
1416func TestBeamSession (t * testing.T ) {
Original file line number Diff line number Diff line change 11package unix
22
33import (
4+ "testing"
5+
46 lch "github.com/docker/libchan"
57 "github.com/dotcloud/docker/pkg/testutils"
6- "testing"
78)
89
910func TestPair (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments