acl-dev / acl

C/C++ server and network library, including coroutine,redis client,http/https/websocket,mqtt, mysql/postgresql/sqlite client with C/C++ for Linux, Android, iOS, MacOS, Windows, etc..
https://acl-dev.cn
GNU Lesser General Public License v3.0
2.83k stars 937 forks source link

Fix bug: redis_client get_string not comsume ending \r\n on empty string #320

Closed popsky closed 8 months ago

popsky commented 8 months ago

Fix bug: redis_client get_string not comsume ending \r\n on empty string, which cause parse error when hgetall on key that contain such empty string.