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
29458b105d
commit
f89e90f6a2
1 changed files with 1 additions and 1 deletions
|
@ -1014,7 +1014,7 @@ lws_generate_client_handshake(struct lws *wsi, char *pkt)
|
|||
/* give userland a chance to append, eg, cookies */
|
||||
|
||||
context->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