Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

fix the program result error caused by the exception of dispatch reply #40

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

springeye
Copy link

fix the program result error caused by the exception of dispatch reply,
when Received data: [36, 50, 55, 13, 10, 72, 89, 76, 76, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 70, 247, 128, 81, 211, 128, 68, 102, 128, 98, 201, 13, 10].

@jcmellado jcmellado changed the base branch from master to develop June 26, 2021 14:54
@jcmellado
Copy link
Owner

Could you provide the Redis command used to get that response?

@springeye
Copy link
Author

when Redis get a key, but value is a special character!
image
So I can only provide the error information of the returned bytes data

It can be tested in dispatcher. Dart if_ dispatch(reply); There is an exception_ The reader will not be set to null, so any subsequent commands will be invalid_ The reader becomes the wrong data

@springeye
Copy link
Author

The final results are as follows

  1. If redis get key gets a special character, but_ dispatch(reply); There is an exception

  2. There will be an error executing any other command

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants