mirror of
https://github.com/quasar/Quasar.git
synced 2026-04-25 15:25:59 +03:00
[PR #353] [CLOSED] Reliability and Behavior Improvements #1116
Labels
No labels
bug
bug
cant-reproduce
discussion
duplicate
easy
enhancement
help wanted
improvement
invalid
need more info
pull-request
question
wont-add
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Quasar#1116
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/quasar/Quasar/pull/353
Author: @yankejustin
Created: 8/25/2015
Status: ❌ Closed
Base:
master← Head:reliability📝 Commits (3)
f3bf1bbGracefully handle failed de-serialization3e201fcAdd a few try-catchesdee9223Make deleting and renaming more responsive📊 Changes
4 files changed (+70 additions, -32 deletions)
View changed files
📝
Client/Core/Commands/FileHandler.cs(+10 -4)📝
Client/Core/Commands/SurveillanceHandler.cs(+34 -24)📝
Client/Core/Networking/Client.cs(+13 -2)📝
Server/Core/Networking/Client.cs(+13 -2)📄 Description
Reasoning
Created a new branch for reliability because I intended to fix a larger amount of reliability issues. I was surprised to find that it is still so solid after all the changes in the past month. 💯
Changes
1. Handle an inability to de-serialize a packet in a graceful manner (sets a status message of the situation). - If the server was unable to de-serialize a client's packet, it would crash (depending on the containing data types in the packet) due to an uncaught exception. - If the client was unable to de-serialize a packet from the server, it would crash (depending on the containing data types in the packet) due to an uncaught exception. 2. Added a few more try-catch blocks to some spots in theCommandHandler- Helps to make sure invalid packets from the server won't cause a crash. - Necessary because handlers in theCommandHandleraren't caught. 3. Slightly improved situations when the renaming or deleting of a file or directory failed. - Inform the server via a readable status message. - Always refresh the directory (even if the renaming or deleting of a file or directory failed).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.