Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

On connection reset "Socket closed" log is lost #872

@BrennanConroy

Description

@BrennanConroy

We should probably put this in a try finally

using (var ws = await context.WebSockets.AcceptWebSocketAsync())
{
_logger.SocketOpened(_connection.ConnectionId);
await ProcessSocketAsync(ws);
}
_logger.SocketClosed(_connection.ConnectionId);

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions