mirror of
https://github.com/soheilhy/cmux.git
synced 2026-09-04 09:44:33 +08:00
Compare commits
9 Commits
fix-java-c
...
fix-patric
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
df31d48636 | ||
|
|
fd01d3cc6c | ||
|
|
f952454ed9 | ||
|
|
00342b4d79 | ||
|
|
cd9b7d74b9 | ||
|
|
9d1e2a64dd | ||
|
|
703b087a39 | ||
|
|
d45bcbe1db | ||
|
|
9297b6de56 |
@@ -24,4 +24,5 @@ before_script:
|
|||||||
- if [[ $TRAVIS_GO_VERSION == 1.6* ]]; then go tool vet --shadow .; fi
|
- if [[ $TRAVIS_GO_VERSION == 1.6* ]]; then go tool vet --shadow .; fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- go test -v ./...
|
- go test -bench . -v ./...
|
||||||
|
- go test -race -bench . -v ./...
|
||||||
|
|||||||
11
CONTRIBUTORS
Normal file
11
CONTRIBUTORS
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# The list of people who have contributed code to the cmux repository.
|
||||||
|
#
|
||||||
|
# Auto-generated with:
|
||||||
|
# git log --oneline --pretty=format:'%an <%aE>' | sort -u
|
||||||
|
#
|
||||||
|
Dmitri Shuralyov <shurcooL@gmail.com>
|
||||||
|
Ethan Mosbaugh <emosbaugh@gmail.com>
|
||||||
|
Soheil Hassas Yeganeh <soheil.h.y@gmail.com>
|
||||||
|
Soheil Hassas Yeganeh <soheil@cs.toronto.edu>
|
||||||
|
Tamir Duberstein <tamir@cockroachlabs.com>
|
||||||
|
Tamir Duberstein <tamird@gmail.com>
|
||||||
@@ -74,3 +74,10 @@ gRPC server please match with writers:
|
|||||||
```go
|
```go
|
||||||
grpcl := m.MatchWithWriters(cmux.HTTP2MatchHeaderFieldSendSettings("content-type", "application/grpc"))
|
grpcl := m.MatchWithWriters(cmux.HTTP2MatchHeaderFieldSendSettings("content-type", "application/grpc"))
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Copyright and License
|
||||||
|
Copyright 2016 The CMux Authors. All rights reserved.
|
||||||
|
|
||||||
|
See [CONTRIBUTORS](https://github.com/soheilhy/cmux/blob/master/CONTRIBUTORS)
|
||||||
|
for the CMux Authors. Code is released under
|
||||||
|
[the Apache 2 license](https://github.com/soheilhy/cmux/blob/master/LICENSE).
|
||||||
|
|||||||
121
bench_test.go
121
bench_test.go
@@ -1,3 +1,17 @@
|
|||||||
|
// Copyright 2016 The CMux Authors. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
// implied. See the License for the specific language governing
|
||||||
|
// permissions and limitations under the License.
|
||||||
|
|
||||||
package cmux
|
package cmux
|
||||||
|
|
||||||
import (
|
import (
|
||||||
@@ -6,8 +20,20 @@ import (
|
|||||||
"net"
|
"net"
|
||||||
"sync"
|
"sync"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"golang.org/x/net/http2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var (
|
||||||
|
benchHTTP1Payload = make([]byte, 4096)
|
||||||
|
benchHTTP2Payload = make([]byte, 4096)
|
||||||
|
)
|
||||||
|
|
||||||
|
func init() {
|
||||||
|
copy(benchHTTP1Payload, []byte("GET http://www.w3.org/ HTTP/1.1"))
|
||||||
|
copy(benchHTTP2Payload, http2.ClientPreface)
|
||||||
|
}
|
||||||
|
|
||||||
type mockConn struct {
|
type mockConn struct {
|
||||||
net.Conn
|
net.Conn
|
||||||
r io.Reader
|
r io.Reader
|
||||||
@@ -17,30 +43,95 @@ func (c *mockConn) Read(b []byte) (n int, err error) {
|
|||||||
return c.r.Read(b)
|
return c.r.Read(b)
|
||||||
}
|
}
|
||||||
|
|
||||||
func BenchmarkCMuxConn(b *testing.B) {
|
func discard(l net.Listener) {
|
||||||
benchHTTPPayload := make([]byte, 4096)
|
for {
|
||||||
copy(benchHTTPPayload, []byte("GET http://www.w3.org/ HTTP/1.1"))
|
if _, err := l.Accept(); err != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func BenchmarkCMuxConnHTTP1(b *testing.B) {
|
||||||
m := New(nil).(*cMux)
|
m := New(nil).(*cMux)
|
||||||
l := m.Match(HTTP1Fast())
|
l := m.Match(HTTP1Fast())
|
||||||
|
|
||||||
go func() {
|
go discard(l)
|
||||||
for {
|
|
||||||
if _, err := l.Accept(); err != nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}()
|
|
||||||
|
|
||||||
donec := make(chan struct{})
|
donec := make(chan struct{})
|
||||||
var wg sync.WaitGroup
|
var wg sync.WaitGroup
|
||||||
wg.Add(b.N)
|
wg.Add(b.N)
|
||||||
|
|
||||||
b.ResetTimer()
|
b.ResetTimer()
|
||||||
for i := 0; i < b.N; i++ {
|
b.RunParallel(func(pb *testing.PB) {
|
||||||
c := &mockConn{
|
for pb.Next() {
|
||||||
r: bytes.NewReader(benchHTTPPayload),
|
wg.Add(1)
|
||||||
|
m.serve(&mockConn{
|
||||||
|
r: bytes.NewReader(benchHTTP1Payload),
|
||||||
|
}, donec, &wg)
|
||||||
}
|
}
|
||||||
m.serve(c, donec, &wg)
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func BenchmarkCMuxConnHTTP2(b *testing.B) {
|
||||||
|
m := New(nil).(*cMux)
|
||||||
|
l := m.Match(HTTP2())
|
||||||
|
go discard(l)
|
||||||
|
|
||||||
|
donec := make(chan struct{})
|
||||||
|
var wg sync.WaitGroup
|
||||||
|
wg.Add(b.N)
|
||||||
|
|
||||||
|
b.ResetTimer()
|
||||||
|
b.RunParallel(func(pb *testing.PB) {
|
||||||
|
for pb.Next() {
|
||||||
|
wg.Add(1)
|
||||||
|
m.serve(&mockConn{
|
||||||
|
r: bytes.NewReader(benchHTTP2Payload),
|
||||||
|
}, donec, &wg)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
func BenchmarkCMuxConnHTTP1n2(b *testing.B) {
|
||||||
|
m := New(nil).(*cMux)
|
||||||
|
l1 := m.Match(HTTP1Fast())
|
||||||
|
l2 := m.Match(HTTP2())
|
||||||
|
|
||||||
|
go discard(l1)
|
||||||
|
go discard(l2)
|
||||||
|
|
||||||
|
donec := make(chan struct{})
|
||||||
|
var wg sync.WaitGroup
|
||||||
|
|
||||||
|
b.ResetTimer()
|
||||||
|
b.RunParallel(func(pb *testing.PB) {
|
||||||
|
for pb.Next() {
|
||||||
|
wg.Add(1)
|
||||||
|
m.serve(&mockConn{
|
||||||
|
r: bytes.NewReader(benchHTTP2Payload),
|
||||||
|
}, donec, &wg)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
func BenchmarkCMuxConnHTTP2n1(b *testing.B) {
|
||||||
|
m := New(nil).(*cMux)
|
||||||
|
l2 := m.Match(HTTP2())
|
||||||
|
l1 := m.Match(HTTP1Fast())
|
||||||
|
|
||||||
|
go discard(l1)
|
||||||
|
go discard(l2)
|
||||||
|
|
||||||
|
donec := make(chan struct{})
|
||||||
|
var wg sync.WaitGroup
|
||||||
|
|
||||||
|
b.ResetTimer()
|
||||||
|
b.RunParallel(func(pb *testing.PB) {
|
||||||
|
for pb.Next() {
|
||||||
|
wg.Add(1)
|
||||||
|
m.serve(&mockConn{
|
||||||
|
r: bytes.NewReader(benchHTTP1Payload),
|
||||||
|
}, donec, &wg)
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
14
buffer.go
14
buffer.go
@@ -1,3 +1,17 @@
|
|||||||
|
// Copyright 2016 The CMux Authors. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
// implied. See the License for the specific language governing
|
||||||
|
// permissions and limitations under the License.
|
||||||
|
|
||||||
package cmux
|
package cmux
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
14
cmux.go
14
cmux.go
@@ -1,3 +1,17 @@
|
|||||||
|
// Copyright 2016 The CMux Authors. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
// implied. See the License for the specific language governing
|
||||||
|
// permissions and limitations under the License.
|
||||||
|
|
||||||
package cmux
|
package cmux
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
14
cmux_test.go
14
cmux_test.go
@@ -1,3 +1,17 @@
|
|||||||
|
// Copyright 2016 The CMux Authors. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
// implied. See the License for the specific language governing
|
||||||
|
// permissions and limitations under the License.
|
||||||
|
|
||||||
package cmux
|
package cmux
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
18
doc.go
Normal file
18
doc.go
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
// Copyright 2016 The CMux Authors. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
// implied. See the License for the specific language governing
|
||||||
|
// permissions and limitations under the License.
|
||||||
|
|
||||||
|
// Package cmux is a library to multiplex network connections based on
|
||||||
|
// their payload. Using cmux, you can serve different protocols from the
|
||||||
|
// same listener.
|
||||||
|
package cmux
|
||||||
@@ -1,3 +1,17 @@
|
|||||||
|
// Copyright 2016 The CMux Authors. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
// implied. See the License for the specific language governing
|
||||||
|
// permissions and limitations under the License.
|
||||||
|
|
||||||
package cmux_test
|
package cmux_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -1,3 +1,17 @@
|
|||||||
|
// Copyright 2016 The CMux Authors. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
// implied. See the License for the specific language governing
|
||||||
|
// permissions and limitations under the License.
|
||||||
|
|
||||||
package cmux_test
|
package cmux_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -1,3 +1,17 @@
|
|||||||
|
// Copyright 2016 The CMux Authors. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
// implied. See the License for the specific language governing
|
||||||
|
// permissions and limitations under the License.
|
||||||
|
|
||||||
package cmux_test
|
package cmux_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
14
matchers.go
14
matchers.go
@@ -1,3 +1,17 @@
|
|||||||
|
// Copyright 2016 The CMux Authors. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
// implied. See the License for the specific language governing
|
||||||
|
// permissions and limitations under the License.
|
||||||
|
|
||||||
package cmux
|
package cmux
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
94
patricia.go
94
patricia.go
@@ -1,3 +1,17 @@
|
|||||||
|
// Copyright 2016 The CMux Authors. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
// implied. See the License for the specific language governing
|
||||||
|
// permissions and limitations under the License.
|
||||||
|
|
||||||
package cmux
|
package cmux
|
||||||
|
|
||||||
import (
|
import (
|
||||||
@@ -8,12 +22,20 @@ import (
|
|||||||
// patriciaTree is a simple patricia tree that handles []byte instead of string
|
// patriciaTree is a simple patricia tree that handles []byte instead of string
|
||||||
// and cannot be changed after instantiation.
|
// and cannot be changed after instantiation.
|
||||||
type patriciaTree struct {
|
type patriciaTree struct {
|
||||||
root *ptNode
|
root *ptNode
|
||||||
|
maxDepth int // max depth of the tree.
|
||||||
}
|
}
|
||||||
|
|
||||||
func newPatriciaTree(b ...[]byte) *patriciaTree {
|
func newPatriciaTree(bs ...[]byte) *patriciaTree {
|
||||||
|
max := 0
|
||||||
|
for _, b := range bs {
|
||||||
|
if max < len(b) {
|
||||||
|
max = len(b)
|
||||||
|
}
|
||||||
|
}
|
||||||
return &patriciaTree{
|
return &patriciaTree{
|
||||||
root: newNode(b),
|
root: newNode(bs),
|
||||||
|
maxDepth: max + 1,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -22,17 +44,19 @@ func newPatriciaTreeString(strs ...string) *patriciaTree {
|
|||||||
for i, s := range strs {
|
for i, s := range strs {
|
||||||
b[i] = []byte(s)
|
b[i] = []byte(s)
|
||||||
}
|
}
|
||||||
return &patriciaTree{
|
return newPatriciaTree(b...)
|
||||||
root: newNode(b),
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *patriciaTree) matchPrefix(r io.Reader) bool {
|
func (t *patriciaTree) matchPrefix(r io.Reader) bool {
|
||||||
return t.root.match(r, true)
|
buf := make([]byte, t.maxDepth)
|
||||||
|
n, _ := io.ReadFull(r, buf)
|
||||||
|
return t.root.match(buf[:n], true)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *patriciaTree) match(r io.Reader) bool {
|
func (t *patriciaTree) match(r io.Reader) bool {
|
||||||
return t.root.match(r, false)
|
buf := make([]byte, t.maxDepth)
|
||||||
|
n, _ := io.ReadFull(r, buf)
|
||||||
|
return t.root.match(buf[:n], false)
|
||||||
}
|
}
|
||||||
|
|
||||||
type ptNode struct {
|
type ptNode struct {
|
||||||
@@ -122,52 +146,30 @@ func splitPrefix(bss [][]byte) (prefix []byte, rest [][]byte) {
|
|||||||
return prefix, rest
|
return prefix, rest
|
||||||
}
|
}
|
||||||
|
|
||||||
func readBytes(r io.Reader, n int) (b []byte, err error) {
|
func (n *ptNode) match(b []byte, prefix bool) bool {
|
||||||
b = make([]byte, n)
|
l := len(n.prefix)
|
||||||
o := 0
|
if l > 0 {
|
||||||
for o < n {
|
if l > len(b) {
|
||||||
nr, err := r.Read(b[o:])
|
l = len(b)
|
||||||
if err != nil && err != io.EOF {
|
|
||||||
return b, err
|
|
||||||
}
|
}
|
||||||
|
if !bytes.Equal(b[:l], n.prefix) {
|
||||||
o += nr
|
|
||||||
|
|
||||||
if err == io.EOF {
|
|
||||||
break
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return b[:o], nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (n *ptNode) match(r io.Reader, prefix bool) bool {
|
|
||||||
if l := len(n.prefix); l > 0 {
|
|
||||||
b, err := readBytes(r, l)
|
|
||||||
if err != nil || len(b) != l || !bytes.Equal(b, n.prefix) {
|
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if prefix && n.terminal {
|
if n.terminal && (prefix || len(n.prefix) == len(b)) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
b := make([]byte, 1)
|
nextN, ok := n.next[b[l]]
|
||||||
for {
|
if !ok {
|
||||||
nr, err := r.Read(b)
|
return false
|
||||||
if nr != 0 {
|
|
||||||
break
|
|
||||||
}
|
|
||||||
|
|
||||||
if err == io.EOF {
|
|
||||||
return n.terminal
|
|
||||||
}
|
|
||||||
|
|
||||||
if err != nil {
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
nextN, ok := n.next[b[0]]
|
if l == len(b) {
|
||||||
return ok && nextN.match(r, prefix)
|
b = b[l:l]
|
||||||
|
} else {
|
||||||
|
b = b[l+1:]
|
||||||
|
}
|
||||||
|
return nextN.match(b, prefix)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,17 @@
|
|||||||
|
// Copyright 2016 The CMux Authors. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
// implied. See the License for the specific language governing
|
||||||
|
// permissions and limitations under the License.
|
||||||
|
|
||||||
package cmux
|
package cmux
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
Reference in New Issue
Block a user