You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
..
bson.c Fixed 503 responses when Redis is down. 14 years ago
bson.h BSON support. 14 years ago
common.c Don't free the cmd if it's [p]subscribe 13 years ago
common.h txt array support 13 years ago
custom-type.c Added separator param for custom list responses. 13 years ago
custom-type.h Removed content-type in another key, added suffixes instead. 14 years ago
json.c Fixed 503 responses when Redis is down. 14 years ago
json.h Partial rewrite, adding WebSockets, threads, pool. 14 years ago
msgpack.c Added MessagePack tests and fixed status reply 13 years ago
msgpack.h MessagePack bugfixes 13 years ago
raw.c Merge branch 'master' of https://github.com/nicolasff/webdis 13 years ago
raw.h Support Redis wire protocol over HTML5 WebSockets. 14 years ago