Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | allow cert_reqs to be a string and convert it to the appropriate SSL constant. | Andy McCurdy | 2014-05-13 | 1 | -0/+10 | |
| | ||||||
* | construct SSL connections from URLs. #446 | Andy McCurdy | 2014-05-13 | 1 | -0/+9 | |
| | ||||||
* | added the ablity to pass ssl options to client classes. #446 | Andy McCurdy | 2014-05-13 | 1 | -4/+6 | |
| | ||||||
* | cleaner 2.6 fallback code for querystring parsing on python 2.6 | Andy McCurdy | 2014-05-12 | 1 | -7/+11 | |
| | ||||||
* | Merge branch 'pr/446' | Andy McCurdy | 2014-05-12 | 1 | -1/+33 | |
|\ | | | | | | | | | | | Conflicts: redis/client.py redis/connection.py | |||||
| * | add SSL support | Oran Agra | 2014-03-22 | 1 | -1/+22 | |
| | | ||||||
* | | string literals no longer get encoded before being send to Redis | Andy McCurdy | 2014-05-12 | 1 | -10/+43 | |
| | | | | | | | | | | | | | | | | | | | | | | | | previously all pieces of a command, including the command name and literal options to it (such as "WITHSCORES" on ZSET commands) would get encoded. this works fine on utf-8, but other encodings like utf-16 break. a new Token class has been introduced that command names and literal options get wrapped. the encoder falls back to the latin-1 encoding for these literals as they are all ascii. fixes #430 | |||||
* | | work around python2.6's broken urlparse implementation | Andy McCurdy | 2014-05-11 | 1 | -1/+11 | |
| | | ||||||
* | | Cleaned up URL parsing code, now returns ConnectionPool instances. | Andy McCurdy | 2014-05-11 | 1 | -67/+49 | |
| | | | | | | | | | | | | | | StrictRedis.from_url() now creations a connection pool instance and passes that as the connection_pool argument to the client class. Cleaned up the test suite for URL parsing and BlockingConnectionPool tests | |||||
* | | remove debugging | Andy McCurdy | 2014-05-11 | 1 | -1/+1 | |
| | | ||||||
* | | cleanup ConnectionPool and BlockingConnectionPool. | Andy McCurdy | 2014-05-11 | 1 | -89/+32 | |
| | | ||||||
* | | Merge branch 'pr/436' | Andy McCurdy | 2014-05-11 | 1 | -1/+104 | |
|\ \ | | | | | | | | | | | | | Conflicts: tests/test_connection_pool.py | |||||
| * | | restore a feature that was inadvertently removed | wil paredes | 2014-02-09 | 1 | -1/+1 | |
| | | | | | | | | | | | | * fixed parsing URLs without a scheme, e.g. "//localhost:6379" | |||||
| * | | pep8 fixes | wil paredes | 2014-02-09 | 1 | -6/+6 | |
| | | | ||||||
| * | | add from_url() classmethod to ConnectionPool and BlockingConnectionPool, add ↵ | wil paredes | 2014-02-09 | 1 | -1/+104 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ability to parse UNIX domain socket URLs * add redis.connection.parse_url() * moved code from StrictRedis.from_url() to here * add ability to parse UNIX domain socket URLs * return keyword args to pass to StrictRedis.__init__() * StrictRedis.from_url() - call parse_url() to get keyword args * add classmethod from_url() to ConnectionPool and BlockingConnectionPool * get keyword args from parse_url() * touch up keyword args from StrictRedis format for connection pool * tests/test_connection_pool.py * add from_url() tests for ConnectionPool and BlockingConnectionPool * add from_url() tests for a single Redis client object | |||||
* | | | Add TCP_NODELAY to TCP sockets. | tzickel | 2014-05-09 | 1 | -0/+1 | |
| | | | ||||||
* | | | Force `port` to an int in case someone passes it as a string. Fixes #292 | Andy McCurdy | 2014-05-07 | 1 | -1/+1 | |
| | | | ||||||
* | | | SentinelManagedConnections to master servers disconnect on READONLY errors. | Andy McCurdy | 2014-05-06 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | Any attempt to reconnect will force all connections in that pool to update their connections to the new master. Fixes #435 | |||||
* | | | better performance of pack_command and send_packed_command when dealing with ↵ | Andy McCurdy | 2014-04-29 | 1 | -6/+19 | |
| | | | | | | | | | | | | large values | |||||
* | | | receiving empty strings from socket.recv indicates the server hungup. | Andy McCurdy | 2014-04-29 | 1 | -0/+6 | |
| | | | | | | | | | | | | fixes #386 and #465. Thanks David Lawrence. | |||||
* | | | tiny benchmark framework and a benchmark to determine the optimal number of ↵ | Andy McCurdy | 2014-04-28 | 1 | -2/+2 | |
| | | | | | | | | | | | | bytes to read from a socket | |||||
* | | | accumulate data based on its length rather than the size of the buffer | Andy McCurdy | 2014-04-28 | 1 | -6/+14 | |
| | | | ||||||
* | | | socket_read_size can now be customized | Andy McCurdy | 2014-04-21 | 1 | -13/+18 | |
| | | | ||||||
* | | | nicer upgrade message | Andy McCurdy | 2014-04-21 | 1 | -2/+2 | |
| | | | ||||||
* | | | better error handling with hiredis. fully fixes #456 | Andy McCurdy | 2014-04-21 | 1 | -8/+29 | |
| | | | ||||||
* | | | Unix | Andy McCurdy | 2014-04-05 | 1 | -0/+1 | |
| | | | ||||||
* | | | automatic message decoding if decode_responses=True. bugfixes, tests. | Andy McCurdy | 2014-04-01 | 1 | -0/+1 | |
| | | | ||||||
* | | | make sure we're not holding onto any references | Andy McCurdy | 2014-03-27 | 1 | -0/+2 | |
| | | | ||||||
* | | | fixed a bunch get_message() bugs, refactored the PythonParser to be saner. | Andy McCurdy | 2014-03-27 | 1 | -46/+107 | |
| | | | | | | | | | | | | still need more pubsub tests but all this stuff *seems* to be working now | |||||
* | | | Merge branch 'master' into pubsub | Andy McCurdy | 2014-03-13 | 1 | -55/+125 | |
|\ \ \ | | |/ | |/| | | | | | | | Conflicts: redis/connection.py | |||||
| * | | make sure hiredis parser raises connection errors | Andy McCurdy | 2014-03-10 | 1 | -0/+5 | |
| |/ | ||||||
| * | pep8, version bump to 2.9.12.9.1 | Andy McCurdy | 2014-01-23 | 1 | -5/+7 | |
| | | ||||||
| * | Added timeout. | Adam Mashinchi | 2014-01-23 | 1 | -1/+1 | |
| | | ||||||
| * | Add IPv6 support to 2.6+. | Adam Mashinchi | 2014-01-22 | 1 | -0/+3 | |
| | | ||||||
| * | ConnectionPools in forked and multi-threaded environments play nicer. | Andy McCurdy | 2014-01-02 | 1 | -13/+20 | |
| | | | | | | | | Thanks Christian Joergensen. Fixes #412 | |||||
| * | Add extra info to exceptions raised in pipelines. Fixes #407 | Andy McCurdy | 2013-12-08 | 1 | -14/+18 | |
| | | | | | | | | | | | | | | | | | | ResponseErrors generated by commands executed in a pipeline now includes the command position in the pipeline and the actual command sent to the Redis server. For example: Command # 3 (LPUSH c 3) of pipeline caused error: <actual error message from Redis server> | |||||
| * | Merge branch 'pr/391' | Andy McCurdy | 2013-11-26 | 1 | -1/+10 | |
| |\ | ||||||
| | * | double quotes rather than singles | Andy McCurdy | 2013-11-26 | 1 | -5/+6 | |
| | | | ||||||
| | * | remove TODO, it is implemented by BlockingConnectionPool without a timeout | Eric Urban | 2013-10-21 | 1 | -1/+0 | |
| | | | ||||||
| | * | Update documentation on __init__ of ConnectionPool to explain usage and behavior | Eric Urban | 2013-10-21 | 1 | -0/+9 | |
| | | | ||||||
| * | | Merge branch 'pr/399' | Andy McCurdy | 2013-11-26 | 1 | -0/+28 | |
| |\ \ | ||||||
| | * | | Move repr to Connection and UnixDomainConnection. Add repr support to Redis, ↵ | Mark Roberts | 2013-11-05 | 1 | -0/+28 | |
| | |/ | | | | | | | | | | ConnectionPool, and BlockingConnectionPool | |||||
| * | | stylistic | Andy McCurdy | 2013-11-26 | 1 | -2/+2 | |
| | | | ||||||
| * | | Making fix PEP8 compliant | Anshul Ranjan | 2013-11-12 | 1 | -1/+2 | |
| | | | ||||||
| * | | Fixed indentation to 4 spaces | Anshul Ranjan | 2013-10-25 | 1 | -1/+1 | |
| | | | ||||||
| * | | Patch for better error message on protocol error. | Anshul Ranjan | 2013-10-25 | 1 | -1/+1 | |
| |/ | | | | | | | Recently I got lot of these errors in my logs and had no clue what it meant until I printed byte and response and it showed out of memory. | |||||
| * | Errors during auth or DB select now close the socket | Andy McCurdy | 2013-09-08 | 1 | -1/+6 | |
| | | | | | | | | Fixes #368 | |||||
| * | Merge branch 'master' of git://github.com/gviot/redis-py into gviot-master | Andy McCurdy | 2013-08-24 | 1 | -11/+7 | |
| |\ | ||||||
| | * | Make the pack_command optimization compatible across python versions | Guillaume Viot | 2013-08-24 | 1 | -4/+6 | |
| | | | ||||||
| | * | Changed the way commands are packed to increase performance | Guillaume Viot | 2013-08-21 | 1 | -11/+5 | |
| | | |