Skip to content

Core Leaks Websocket Sessions #3693

@iCollin

Description

@iCollin

Bug Report

It was noticed that in certain scenarios Core will leak websocket sessions.

Reproduction Steps
  1. Connect a websocket client (https://www.websocket.org/echo.html connect to wss://$CORE_IP:2020)
  2. Kill the websocket client without properly closing the connection (refresh the page)
  3. run this command from build/bin
lsof -p `cat core.pid` | grep "CLOSE_WAIT"
Expected Behavior

Core has no connections in CLOSE_WAIT status

Observed Behavior

Core has leaked a connection in CLOSE_WAIT status

OS & Version Information
  • SDL Core Version: develop

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions