Daniele Alessandri
|
c41bb2c314
Fix bug reading zero-length values from a bulk response.
|
14 years ago |
Daniele Alessandri
|
79372cb99b
Add inline (p)subscribe via options on Predis\PubSubContext initialization.
|
14 years ago |
Daniele Alessandri
|
0d7fe31110
Minor indentation fix.
|
14 years ago |
Daniele Alessandri
|
118af2809c
Use only one check for replies that should not be passed to a reply parser.
|
14 years ago |
Daniele Alessandri
|
8dcd10dbbc
Fix missing registration for the Redis 2.2 profile.
|
14 years ago |
Daniele Alessandri
|
3a6907241b
Promote the profile for Redis 2.2 as stable (the default for the client is still 2.0).
|
14 years ago |
Daniele Alessandri
|
eae29bc3da
Do not use is_numeric() when it is not really needed (it is relatively slow).
|
14 years ago |
Daniele Alessandri
|
727feb3f27
Remove usage of constants in the protocol handlers.
|
14 years ago |
Daniele Alessandri
|
3924235501
Apply minor changes.
|
14 years ago |
Daniele Alessandri
|
dc704c8cc4
Remove unused variables.
|
14 years ago |
Daniele Alessandri
|
8d6f65d3dd
Add the 'on_retry' callback as an option for Predis\MultiExecBlock.
|
14 years ago |
Daniele Alessandri
|
40dfabb139
Do not perform useless read operations in the bulk reply handler.
|
14 years ago |
Daniele Alessandri
|
923d998f35
Fix namespacing issue.
|
14 years ago |
Daniele Alessandri
|
eae8fb8971
Minor code style change.
|
14 years ago |
Daniele Alessandri
|
4fc5ee65fd
Look for a closing curly brace in a string only after the index of the opening one when using key tags.
|
14 years ago |
Daniele Alessandri
|
007ddaecfa
Optimize when a pair of curly brackets for key tagging is missing.
|
14 years ago |
Daniele Alessandri
|
455e56927a
Create a new class to handle the old response type of KEYS (Redis v1.2).
|
14 years ago |
Daniele Alessandri
|
4b1302a93a
Use a faster method to detect errors when reading a line from the server.
|
14 years ago |
Daniele Alessandri
|
d46b0e0785
Reuse code a bit.
|
14 years ago |
Daniele Alessandri
|
cf522ff2b4
Use a local cache for handlers while iterating chunks of a multi-bulk reply.
|
14 years ago |
Daniele Alessandri
|
db92c7a9b8
Reduce overhead by directly managing reply handlers for multibulk replies.
|
14 years ago |
Daniele Alessandri
|
30926def60
Rewrite the bulk reply handler (more compact and faster code).
|
14 years ago |
Daniele Alessandri
|
7465daa0eb
More strict check of the length argument for a network read.
|
14 years ago |
Daniele Alessandri
|
2c761d6c95
Remove a useless check for the payload length.
|
14 years ago |
Daniele Alessandri
|
1e32f8aaa8
Use an explicit index to add values to the multi-bulk reply array.
|
14 years ago |
Daniele Alessandri
|
2a25b0e3f3
Nothing fancy, and hardly an optimization.
|
14 years ago |
Daniele Alessandri
|
5a6a48fa17
Avoid allocating an iterator to traverse the arguments list of a command.
|
14 years ago |
Daniele Alessandri
|
64951b1799
Preallocate an empty array for empty command arguments.
|
14 years ago |
Daniele Alessandri
|
0c9b822095
Code style changes only.
|
14 years ago |
Daniele Alessandri
|
030d9740bd
Cannot execute with a transaction block after using fluent interface style with Predis\MultiExecBlock.
|
14 years ago |