From ed2a079cc3ff7db82e197307d388ca9c96cb092e Mon Sep 17 00:00:00 2001 From: Andy McCurdy Date: Mon, 28 Sep 2015 15:34:29 -0700 Subject: removed the proactive check in HiredisParser for a line ending it turns out just calling into hiredis to test this is faster than doing string compare in Python. fixes #615 and #650. --- CHANGES | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CHANGES') diff --git a/CHANGES b/CHANGES index f7060b6..44c17df 100644 --- a/CHANGES +++ b/CHANGES @@ -15,6 +15,10 @@ to the master when the connection pool resets. Thanks https://github.com/df3n5 * Better timeout support in Pubsub get_message. Thanks Andy Isaacson. + * Fixed a bug with the HiredisParser that would cause the parser to + get stuck in an endless loop if a specific number of bytes were + delivered from the socket. This fix also increases performance of + parsing large responses from the Redis server. * 2.10.3 * Fixed a bug with the bytearray support introduced in 2.10.2. Thanks Josh Owen. -- cgit v1.2.1