mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
mux: disable already optimization
This leads to problems at the moment with sticky mux.requested_POLLOUT causing writeable to not be sent. Remove it and always set writeable on parents for now.
This commit is contained in:
parent
4f6143fff0
commit
1c6735e1a0
2 changed files with 4 additions and 4 deletions
|
@ -1177,8 +1177,8 @@ lws_wsi_mux_dump_waiting_children(struct lws *wsi)
|
|||
int
|
||||
lws_wsi_mux_mark_parents_needing_writeable(struct lws *wsi)
|
||||
{
|
||||
struct lws *network_wsi = lws_get_network_wsi(wsi), *wsi2;
|
||||
int already = network_wsi->mux.requested_POLLOUT;
|
||||
struct lws /* *network_wsi = lws_get_network_wsi(wsi), */ *wsi2;
|
||||
//int already = network_wsi->mux.requested_POLLOUT;
|
||||
|
||||
/* mark everybody above him as requesting pollout */
|
||||
|
||||
|
@ -1190,7 +1190,7 @@ lws_wsi_mux_mark_parents_needing_writeable(struct lws *wsi)
|
|||
wsi2 = wsi2->mux.parent_wsi;
|
||||
}
|
||||
|
||||
return already;
|
||||
return 0; // already;
|
||||
}
|
||||
|
||||
struct lws *
|
||||
|
|
|
@ -725,7 +725,7 @@ rops_callback_on_writable_h2(struct lws *wsi)
|
|||
#endif
|
||||
) {
|
||||
lwsl_debug("already pending writable\n");
|
||||
return 1;
|
||||
// return 1;
|
||||
}
|
||||
|
||||
/* is this for DATA or for control messages? */
|
||||
|
|
Loading…
Add table
Reference in a new issue