mirror of
https://gitee.com/johng/gf
synced 2026-06-06 02:25:47 +08:00
greuseport updates
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user