Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Refine connection exception handling #111

Merged
merged 2 commits into from
Nov 20, 2024

Conversation

frostyplanet
Copy link
Contributor

@frostyplanet frostyplanet commented Nov 19, 2024

What do these changes do?

While server-side recv invalid format data, previously will not handle exception and leaving connection not close.

The exception situation including invalid header, or deserialization fails

Related issue number

Fixes #110

Check code requirements

None

Fix xorbitsai#110

while server-side recv invalid format data, previously will not handle
exception and leaving connection not close
@XprobeBot XprobeBot added this to the epic milestone Nov 19, 2024
Copy link

codecov bot commented Nov 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.77%. Comparing base (d6465c9) to head (086b8e4).
Report is 18 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #111      +/-   ##
==========================================
- Coverage   88.97%   84.77%   -4.21%     
==========================================
  Files          48       53       +5     
  Lines        4038     4571     +533     
  Branches      770      498     -272     
==========================================
+ Hits         3593     3875     +282     
- Misses        358      597     +239     
- Partials       87       99      +12     
Flag Coverage Δ
unittests 84.55% <ø> (-4.26%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@frostyplanet frostyplanet changed the title Refine connection exception handling EHN: Refine connection exception handling Nov 19, 2024
@qinxuye qinxuye changed the title EHN: Refine connection exception handling ENH: Refine connection exception handling Nov 20, 2024
@XprobeBot XprobeBot added the enhancement New feature or request label Nov 20, 2024
Copy link
Contributor

@qinxuye qinxuye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@qinxuye qinxuye merged commit d6ec36b into xorbitsai:main Nov 20, 2024
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inappopriate assert
3 participants