mirror of
https://github.com/lxsang/ant-http
synced 2024-12-25 16:28:21 +01:00
stable version
This commit is contained in:
parent
2562c06f31
commit
d04d29fe6b
BIN
dist/antd-1.0.4b.tar.gz
vendored
BIN
dist/antd-1.0.4b.tar.gz
vendored
Binary file not shown.
4
lib/ws.h
4
lib/ws.h
@ -26,8 +26,8 @@
|
|||||||
#define ws_f(c,f) (ws_send_file(c,f,0))
|
#define ws_f(c,f) (ws_send_file(c,f,0))
|
||||||
#define ws_close(c,r) (ws_send_close(c,r,0))
|
#define ws_close(c,r) (ws_send_close(c,r,0))
|
||||||
#define MAX_BUFF 1024
|
#define MAX_BUFF 1024
|
||||||
#define CLIENT_RQ "GET /%s HTTP/1.1\r\nHost: %s\r\nUpgrade: websocket\r\nConnection: Upgrade\r\nSec-WebSocket-Key: dGhlIHNhbXBsZSBub25jZQ==\r\nSec-WebSocket-Version: 13\r\n\r\n"
|
//#define CLIENT_RQ "GET /%s HTTP/1.1\r\nHost: %s\r\nUpgrade: websocket\r\nConnection: Upgrade\r\nSec-WebSocket-Key: dGhlIHNhbXBsZSBub25jZQ==\r\nSec-WebSocket-Version: 13\r\n\r\n"
|
||||||
#define SERVER_WS_KEY "s3pPLMBiTxaQ9kYGzzhZRbK+xOo="
|
//#define SERVER_WS_KEY "s3pPLMBiTxaQ9kYGzzhZRbK+xOo="
|
||||||
|
|
||||||
typedef struct{
|
typedef struct{
|
||||||
uint8_t fin;
|
uint8_t fin;
|
||||||
|
Loading…
Reference in New Issue
Block a user