mirror of
https://gitee.com/johng/gf.git
synced 2024-12-03 12:47:50 +08:00
greuseport updates
This commit is contained in:
parent
ba050d4c86
commit
87d553fca2
@ -41,7 +41,7 @@ func TestNewReusablePortListener(t *testing.T) {
|
||||
}
|
||||
defer listenerTwo.Close()
|
||||
|
||||
listenerThree, err := greuseport.Listen("tcp6", "[::1]:10081")
|
||||
listenerThree, err := greuseport.Listen("tcp6", "[::]:10081")
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
@ -79,7 +79,7 @@ func TestListen(t *testing.T) {
|
||||
}
|
||||
defer listenerTwo.Close()
|
||||
|
||||
listenerThree, err := greuseport.Listen("tcp6", "[::1]:10081")
|
||||
listenerThree, err := greuseport.Listen("tcp6", "[::]:10081")
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user