We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sometime accept for the SCTP socket fails in AMF.
Steps to reproduce the behavior:
diff --git a/test/registration_test.go b/test/registration_test.go index 761e064..8c0e4f1 100644 --- a/test/registration_test.go +++ b/test/registration_test.go @@ -64,6 +64,11 @@ func TestRegistration(t *testing.T) { var recvMsg = make([]byte, 2048) // RAN connect to AMF + for i := 0; i < 1000; i++ { + conn, err := test.ConnectToAmf(amfN2Ipv4Addr, ranN2Ipv4Addr, 38412, 9487) + assert.Nil(t, err) + conn.Close() + } conn, err := test.ConnectToAmf(amfN2Ipv4Addr, ranN2Ipv4Addr, 38412, 9487) assert.Nil(t, err)
./test.sh -o TestRegistration
It seems that this issue is caused by free5gc/sctp@097e517. In this issue case, raw SCTP socket may be leaked.
log.txt
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Sometime accept for the SCTP socket fails in AMF.
To Reproduce
Steps to reproduce the behavior:
./test.sh -o TestRegistration
Environment (please complete the following information):
Additional context
It seems that this issue is caused by free5gc/sctp@097e517.
In this issue case, raw SCTP socket may be leaked.
log.txt
The text was updated successfully, but these errors were encountered: