Skip to content
This repository has been archived by the owner on Mar 11, 2020. It is now read-only.

Bugfix: fmt.Sscanf need indicate '\r\n' explicitly #28

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

xxr3376
Copy link

@xxr3376 xxr3376 commented Dec 2, 2016

The older version think '*2\r\n' as invalid input when parsing multiline command.

fmt.SScanf must indicate '\r\n' explicitly now.

xxr3376 and others added 3 commits December 2, 2016 18:00
The older version think '*2\r\n'  as invalid input when parsing multiline command.

SScanf must indicate '\r\n' explicitly now.
Old code create bufio.Reader for each request. When using pipeline mode,
bufio.Reader may eat some input data which belong to next request.
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.

1 participant