projects
/
profile
/
ivi
/
libwebsockets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
act on fatal parse problems
[profile/ivi/libwebsockets.git]
/
lib
/
client.c
diff --git
a/lib/client.c
b/lib/client.c
index
c92bc49
..
ef17ca8
100644
(file)
--- a/
lib/client.c
+++ b/
lib/client.c
@@
-288,7
+288,10
@@
int lws_client_socket_service(struct libwebsocket_context *context, struct libwe
if (len < 0)
goto bail3;
- libwebsocket_parse(wsi, c);
+ if (libwebsocket_parse(wsi, c)) {
+ /* problems */
+ goto bail3;
+ }
}
/*