Merge pull request #59 from dcosta72/master

Websocket SUBSCRIBE KeepAlive fixed
master
Nicolas Favre-Felix 12 years ago
commit 55481fafea

@ -364,6 +364,10 @@ ws_reply(struct cmd *cmd, const char *p, size_t sz) {
/* send WS frame */
r = http_response_init(cmd->w, 0, NULL);
if (cmd_is_subscribe(cmd)) {
r->keep_alive = 1;
}
if (r == NULL)
return -1;

Loading…
Cancel
Save