Garados007 / Garados007/MaxLib.WebServer

Allow MaxLib.WebServer.WebSocket.EventFactory to handle unknown or broken events.

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The current implementation ignores unregistered events and broken JSON code and produce always (!) log errors. Also the implementation of "TryParse" is not correct as such as it catches all exceptions (there are some cases where catching of all errors is not intended).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating MaxLib.WebServer.WebSocket.EventFactory and its TryParse implementation. Trace how unregistered events and malformed JSON are handled, then verify that expected unknown or broken events do not always produce error logs and that TryParse does not catch every exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.