mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
NO_EXTENSIONS fixes
Trac #52 Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
2764eba89f
commit
793e7c07d8
1 changed files with 2 additions and 3 deletions
|
@ -98,9 +98,10 @@ int lws_issue_raw(struct libwebsocket *wsi, unsigned char *buf, size_t len)
|
|||
{
|
||||
struct libwebsocket_context *context = wsi->protocol->owning_server;
|
||||
int n;
|
||||
size_t real_len = len;
|
||||
|
||||
#ifndef LWS_NO_EXTENSIONS
|
||||
int m;
|
||||
size_t real_len = len;
|
||||
|
||||
if (wsi->truncated_send_malloc &&
|
||||
(buf < wsi->truncated_send_malloc ||
|
||||
|
@ -182,9 +183,7 @@ int lws_issue_raw(struct libwebsocket *wsi, unsigned char *buf, size_t len)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifndef LWS_NO_EXTENSIONS
|
||||
handle_truncated_send:
|
||||
#endif
|
||||
|
||||
/*
|
||||
* already handling a truncated send?
|
||||
|
|
Loading…
Add table
Reference in a new issue