Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Enforce flush of incoming data
[src/app-framework-binder.git]
/
src
/
afb-ws.c
diff --git
a/src/afb-ws.c
b/src/afb-ws.c
index
d159c28
..
cc852b2
100644
(file)
--- a/
src/afb-ws.c
+++ b/
src/afb-ws.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2016 "IoT.bzh"
+ * Copyright (C) 2016
, 2017
"IoT.bzh"
* Author: José Bollo <jose.bollo@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Author: José Bollo <jose.bollo@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@
-379,7
+379,7
@@
static void aws_on_readable(struct afb_ws *ws)
int rc;
assert(ws->ws != NULL);
int rc;
assert(ws->ws != NULL);
- rc = websock_dispatch(ws->ws);
+ rc = websock_dispatch(ws->ws
, 0
);
if (rc < 0 && errno == EPIPE)
afb_ws_hangup(ws);
}
if (rc < 0 && errno == EPIPE)
afb_ws_hangup(ws);
}