Websocket client select if looping or not
[src/app-framework-binder.git] / src / afb-ws.c
index 5af2434..cc852b2 100644 (file)
@@ -379,7 +379,7 @@ static void aws_on_readable(struct afb_ws *ws)
        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);
 }