Skip to content

Commit cf4c988

Browse files
committed
prevent reaching sanity limit ws
1 parent 5cf3658 commit cf4c988

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

inc/ti/version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#define TI_VERSION_MAJOR 1
88
#define TI_VERSION_MINOR 7
9-
#define TI_VERSION_PATCH 1
9+
#define TI_VERSION_PATCH 2
1010

1111
/* The syntax version is used to test compatibility with functions
1212
* using the `ti_nodes_check_syntax()` function */
@@ -25,7 +25,7 @@
2525
* "-rc0"
2626
* ""
2727
*/
28-
#define TI_VERSION_PRE_RELEASE ""
28+
#define TI_VERSION_PRE_RELEASE "-alpha0"
2929

3030
#define TI_MAINTAINER \
3131
"Jeroen van der Heijden <jeroen@cesbit.com>"

src/ti/ws.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,9 @@ static int ws__callback_server_writable(struct lws * wsi, ti_ws_t * pss)
7878
req->cb_(req, EX_WRITE_UV);
7979
return -1;
8080
}
81+
lws_callback_on_writable(wsi);
8182
}
82-
lws_callback_on_writable(wsi);
83+
8384
req->cb_(req, 0);
8485
return 0;
8586
}

0 commit comments

Comments
 (0)