kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit d5a32c2dabfa764631c54b9b891c14a3e5cd4b70
parent 30666618f8ac1d068bdabca5b899e74e232d93a1
Author: Joris Vink <joris@coders.se>
Date:   Mon, 30 Jan 2017 22:17:47 +0100

use the correct opcode for PONG.

djees i can't hex.

Diffstat:
includes/kore.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/includes/kore.h b/includes/kore.h @@ -151,7 +151,7 @@ TAILQ_HEAD(netbuf_head, netbuf); #define WEBSOCKET_OP_BINARY 0x02 #define WEBSOCKET_OP_CLOSE 0x08 #define WEBSOCKET_OP_PING 0x09 -#define WEBSOCKET_OP_PONG 0x10 +#define WEBSOCKET_OP_PONG 0x0a #define WEBSOCKET_BROADCAST_LOCAL 1 #define WEBSOCKET_BROADCAST_GLOBAL 2