| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
same connection setup logic
|
|
|
|
| |
from client to connection. introduced concept of protocol parsers and implemented both a PythonParse and a hiredis parser. the parser class can be overridden in the __init__ of the connection if desired.
|
|
|
|
| |
SELECT commands are issued only on initial socket connection. If a user issues a command during an AOF/RDB load, the socket connection will be successfully opened, but the SELECT command will be lost. If subsequent commands are sent after the AOF/RDB load is completed, the SELECT command will not be retried (due to the open socket), and those commands will go to the wrong DB. This behavior appears to be present in hiredis as well as redis-py. Fixing it here by special casing the AOF/RDB load message and closing the socket connection before raising ResponseError.
|
|
|
|
|
| |
The constant value is the same, 6, but the former works in
Jython as well as CPython.
|
|
|
|
| |
socket.SOL_TCP's constant value, 6. Fix for #97
|
| |
|
| |
|
| |
|
| |
|
|
|