90 Commits (79c13ba18aa749149e9fa1b091dd6c564d8c8202)

Author SHA1 Message Date
Nicolas Favre-Felix 1a2a281d63 Fix unused warning, use llabs instead of abs 9 years ago
Nicolas Favre-Felix 2c634fa071 Remove BSON support 12 years ago
Rob Spanton 7e3357576a Don't free the cmd if it's [p]subscribe
If one sent a [p]subscribe command through a websocket, the cmd
struct got freed after the first response was received.  Subscribe
commands generate multiple responses, so this resulted in accessing
already-freed data, and double-freeing.

This patch adds a check to see if it's a subscribe command, and if it
is avoids the freeing.
13 years ago
Nicolas Favre-Felix 5625498ecc Add allocation check for ETags. 13 years ago
Nicolas Favre-Felix 006186f429 Added separator param for custom list responses. 13 years ago
Nicolas Favre-Felix 6b8231989e Merge branch 'master' of https://github.com/chx/webdis into chx-master 13 years ago
Nicolas Favre-Felix df57554fca Merge pull request #40 from chx/nil
Send 404 for nil in custom format
13 years ago
Karoly Negyesi efc23393a9 Merge branch 'master' of https://github.com/nicolasff/webdis 13 years ago
Karoly Negyesi 3e9354b21f A nil is not found 13 years ago
Nicolas Favre-Felix 5385f9cbaa Fixed warnings seen on FreeBSD. 13 years ago
Karoly Negyesi 478c62c66b We only need string support for arrays with no separators. 13 years ago
Karoly Negyesi 4732d4f3b0 txt array support 13 years ago
Nicolas Favre-Felix ebe4282d4a Extracted chunk_format function 13 years ago
Nicolas Favre-Felix 1cd57619fb Added MessagePack tests and fixed status reply 13 years ago
Nicolas Favre-Felix e676f59f66 MessagePack bugfixes 13 years ago
Nicolas Favre-Felix 78932bffd4 Working MessagePack implementation, if available. 13 years ago
Nicolas Favre-Felix 525c63d54a Added more msgpack support 13 years ago
Nicolas Favre-Felix fe88099ee5 Added text reply for statuses and errors. (Fix GitHub issue #29) 13 years ago
Nicolas Favre-Felix 12c67f655e Make pub/sub chunks async. 13 years ago
Nicolas Favre-Felix 4aef06212e Making writes asynchronous 13 years ago
Nicolas Favre-Felix 0f7d057ed2 Started making writes async. 13 years ago
Nicolas Favre-Felix 712d7b061d Updated hiredis to 5f5b3d9. 13 years ago
Nicolas Favre-Felix 4fde286233 Fixed crash on pub/sub with custom formats. 13 years ago
Nicolas Favre-Felix 683cd7759f Added Content-Disposition. 14 years ago
Nicolas Favre-Felix 52d5542e57 Fixed double-free with multiple SUBSCRIBE channels. 14 years ago
Nicolas Favre-Felix 4172dbfc75 s/Chunked/chunked/g 14 years ago
Nicolas Favre-Felix a4a76551c7 Merge branch 'refactor' 14 years ago
Nicolas Favre-Felix 9b2a761825 Fix for pub/sub clients. 14 years ago
Nicolas Favre-Felix 3035d8ee3d Refactoring. 14 years ago
Nicolas Favre-Felix 513982d8de Added asynchronous reconnect, fixed memory leak. 14 years ago
Nicolas Favre-Felix b3f2b2f306 Support Redis wire protocol over HTML5 WebSockets. 14 years ago
Nicolas Favre-Felix bf2f584140 Fixed 503 responses when Redis is down. 14 years ago
Nicolas Favre-Felix 071341fccf Fixed fd race condition. 14 years ago
Nicolas Favre-Felix 239c9004dc HTTP version in reply. 14 years ago
Nicolas Favre-Felix 5b7aa50e62 Partial rewrite, adding WebSockets, threads, pool. 14 years ago
Nicolas Favre-Felix 7e5e34653d Fix off-by-one error. 14 years ago
Nicolas Favre-Felix eefa8fb051 Merge branch 'master' into ry 14 years ago
Daniele Alessandri 8a78211197 Fix line endings for the raw reply format to comply with the Redis protocol specification. 14 years ago
Nicolas Favre-Felix 2db7eb8389 Merge branch 'master' into ry 14 years ago
Nicolas Favre-Felix 064c701160 Better HGETALL output in JSON and BSON. 14 years ago
Nicolas Favre-Felix fc5e14e6df Merge branch 'master' into ry 14 years ago
Nicolas Favre-Felix e4d2738742 BSON support. 14 years ago
Nicolas Favre-Felix 9f307f2ab7 Disconnect SUBSCRIBE users when Redis link is lost. 14 years ago
Nicolas Favre-Felix 6a1eae43f9 refactoring. 14 years ago
Nicolas Favre-Felix 9538f9f3f9 Merge branch 'master' into ry 14 years ago
Nicolas Favre-Felix 44ee69eda3 Parse INFO output and convert to a JSON object. 14 years ago
Nicolas Favre-Felix 9378544d19 Fix subscribe leak. 14 years ago
Nicolas Favre-Felix 70d2e07043 Fix memory access on empty commands. 14 years ago
Nicolas Favre-Felix a298d3c16b Better client/cmd relationship. 14 years ago
Nicolas Favre-Felix b5b79c97df Cleanup. 14 years ago