mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
client provide user_space on LWS_CALLBACK_CLIENT_APPEND_HANDSHAKE_HEADER
https://github.com/warmcat/libwebsockets/issues/509 Signed-off-by: Andy Green <andy@warmcat.com>
This commit is contained in:
parent
f1fd882d57
commit
8ea8d08623
1 changed files with 1 additions and 1 deletions
|
@ -993,7 +993,7 @@ lws_generate_client_handshake(struct lws *wsi, char *pkt)
|
|||
/* give userland a chance to append, eg, cookies */
|
||||
|
||||
wsi->vhost->protocols[0].callback(wsi, LWS_CALLBACK_CLIENT_APPEND_HANDSHAKE_HEADER,
|
||||
NULL, &p, (pkt + LWS_MAX_SOCKET_IO_BUF) - p - 12);
|
||||
wsi->user_space, &p, (pkt + LWS_MAX_SOCKET_IO_BUF) - p - 12);
|
||||
|
||||
p += sprintf(p, "\x0d\x0a");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue