Skip to content

Commit

Permalink
Merge pull request #155 from kodflow/develop
Browse files Browse the repository at this point in the history
Automated Pull Request from develop to main
  • Loading branch information
kodflow committed Jan 21, 2024
2 parents 831fcda + 7a0aa47 commit cbcab1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/internal/core/server/protocols/tcp/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

func TestTCPClient(t *testing.T) {
config.DEFAULT_LOG_LEVEL = levels.DEBUG
server := setupServer("127.0.0.1:7777")
server := setupServer("127.0.0.1:7778")
server.Start()
defer server.Stop()

Expand Down
2 changes: 1 addition & 1 deletion src/internal/core/server/protocols/tcp/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func (s *Service) Close() error {
if closeErr := conn.net.Close(); closeErr != nil {
err = closeErr // Set the error if closing a connection fails
}
conn.net = nil
//conn.net = nil
}
s.connections[i] = nil
conn.mutex.Unlock()
Expand Down

0 comments on commit cbcab1e

Please sign in to comment.