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
Karoly Negyesi
4732d4f3b0
txt array support
13 years ago
Nicolas Favre-Felix
ebe4282d4a
Extracted chunk_format function
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
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
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
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
6a1eae43f9
refactoring.
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
7cfb80d4ce
Add client.{c,h}. Needs a lot more refactoring.
14 years ago
Nicolas Favre-Felix
b30a2976ca
http.c refactoring, headers
14 years ago
Nicolas Favre-Felix
6026811c02
Fix pub/sub. Valgrind is happy.
14 years ago
Nicolas Favre-Felix
bbec5c6593
Bugfix, restored forced content-type.
14 years ago
Nicolas Favre-Felix
dac5eccde7
Fix ETag.
14 years ago
Nicolas Favre-Felix
981fd54aaf
Fix Keep-Alive.
14 years ago
Nicolas Favre-Felix
89bb00f5ca
Start sending HTTP replies.
14 years ago
Nicolas Favre-Felix
7c152db3c1
Could MD5 be affecting performance that much?
14 years ago
Nicolas Favre-Felix
074ef11ff9
Added ETag and If-None-Match.
14 years ago
Nicolas Favre-Felix
1ea7cd0720
Special GET formatter for key + content-type key.
14 years ago
Nicolas Favre-Felix
cf2a213fbc
Refactoring.
14 years ago