Refactoring.

master
Nicolas Favre-Felix 14 years ago
parent 6e3c4240ee
commit 5e8fe94c3e

@ -36,8 +36,8 @@ curl -d "GET/hello" http://127.0.0.1:7379/
* Enrich config file:
* Provide timeout (this needs to be added to hiredis first.)
* Multi-server support, using consistent hashing.
* Send your ideas using the github tracker, on twitter [@yowgi](http://twitter.com/yowgi) or by mail to n.favrefelix@gmail.com.
* Add WebSocket support, allow cross-origin XHR.
* Send your ideas using the github tracker, on twitter [@yowgi](http://twitter.com/yowgi) or by mail to n.favrefelix@gmail.com.
# HTTP error codes
* Unknown HTTP verb: 405 Method Not Allowed

@ -13,8 +13,6 @@ custom_type_reply(redisAsyncContext *c, void *r, void *privdata) {
struct cmd *cmd = privdata;
(void)c;
evhttp_clear_headers(&cmd->uri_params);
if(reply == NULL) {
evhttp_send_reply(cmd->rq, 404, "Not Found", NULL);
return;

@ -18,8 +18,6 @@ raw_reply(redisAsyncContext *c, void *r, void *privdata) {
size_t sz;
(void)c;
evhttp_clear_headers(&cmd->uri_params);
if (reply == NULL) {
evhttp_send_reply(cmd->rq, 404, "Not Found", NULL);
return;

Loading…
Cancel
Save