-
-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: cutting out read_from_io from Input class
- To change the way to extract data after IO.select, override Input#read_from_io method - When using binary encoded packed data containing "\n" in the data with input plugin using msgpack, an error occurred - With the previous implementation, the input plugin depended on `io.readline(chomp: true)` when extracting data after IO.select, so the input plugin needed to send a string containing a newline - By cutting out read_from_io method, each plugin can extend the way data is extracted
- Loading branch information
1 parent
3a6e285
commit 007b94f
Showing
2 changed files
with
21 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters