Skip to content

Actix socket not closing properly "TCP localhost:http-alt->localhost:56785 (CLOSE_WAIT)" #550

@shanithkk

Description

@shanithkk

Expected Behavior

The established connect should close. not in close_wait state

Current Behavior

"TCP localhost:http-alt->localhost:56785 (CLOSE_WAIT)"
it is going in CLOSE_WAIT state

Possible Solution

Steps to Reproduce (for bugs)

  1. Run the example given in doc
  2. check the process connection (lsof -p )
  3. connect ws via postman or any
  4. check agian the process connection (lsof -p )
  5. close the connection
  6. check again the process connection (lsof -p ). will see " "TCP localhost:http-alt->localhost:56785 (CLOSE_WAIT)"

Context

Your Environment

  • Rust version (output of rustc -V):
  • actix-ws crate versions: 0.30.0, also with direct git url

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions