@@ -608,8 +608,7 @@ int lws_has_buffered_out(struct lws *wsi) {
608608 lws_start_foreach_dll_safe (struct lws_dll2 * , d , d1 , qn -> pending_tx [i ].head ) {
609609 struct lws_quic_tx_frame * f = lws_container_of (d , struct lws_quic_tx_frame , list );
610610 if (((f -> type & 0xf8 ) == LWS_QUIC_FT_STREAM && f -> stream_id == sid ) ||
611- (f -> type == LWS_QUIC_FT_STREAM_DATA_BLOCKED && f -> stream_id == sid ) ||
612- f -> type == LWS_QUIC_FT_DATA_BLOCKED ) {
611+ (f -> type == LWS_QUIC_FT_STREAM_DATA_BLOCKED && f -> stream_id == sid )) {
613612 lwsl_notice ("lws_has_buffered_out: %s has pending_tx stream/blocked frame on sid %llu\n" , lws_wsi_tag (wsi ), (unsigned long long )sid );
614613 return 1 ;
615614 }
@@ -618,8 +617,7 @@ int lws_has_buffered_out(struct lws *wsi) {
618617 lws_start_foreach_dll_safe (struct lws_dll2 * , d , d1 , qn -> in_flight [i ].head ) {
619618 struct lws_quic_tx_frame * f = lws_container_of (d , struct lws_quic_tx_frame , list );
620619 if (((f -> type & 0xf8 ) == LWS_QUIC_FT_STREAM && f -> stream_id == sid ) ||
621- (f -> type == LWS_QUIC_FT_STREAM_DATA_BLOCKED && f -> stream_id == sid ) ||
622- f -> type == LWS_QUIC_FT_DATA_BLOCKED ) {
620+ (f -> type == LWS_QUIC_FT_STREAM_DATA_BLOCKED && f -> stream_id == sid )) {
623621 lwsl_notice ("lws_has_buffered_out: %s has in_flight stream/blocked frame on sid %llu\n" , lws_wsi_tag (wsi ), (unsigned long long )sid );
624622 return 1 ;
625623 }
@@ -1511,7 +1509,7 @@ int lws_wsi_mux_mark_parents_needing_writeable(struct lws *wsi) {
15111509 wsi2 = wsi ;
15121510 while (wsi2 ) {
15131511 wsi2 -> mux .requested_POLLOUT = 1 ;
1514- lwsl_wsi_info (wsi2 , "sid %u, pending writable" , wsi2 -> mux .my_sid );
1512+ lwsl_wsi_debug (wsi2 , "sid %u, pending writable" , wsi2 -> mux .my_sid );
15151513 wsi2 = wsi2 -> mux .parent_wsi ;
15161514 }
15171515
@@ -1650,6 +1648,8 @@ int lws_wsi_mux_apply_queue(struct lws *wsi) {
16501648
16511649 lwsl_wsi_notice (wsi , "evaluating queued conn %s (state 0x%x, par role %s)" ,
16521650 lws_wsi_tag (w ), lwsi_state (w ), wsi -> role_ops ? wsi -> role_ops -> name : "none" );
1651+ lwsl_notice ("AGY-MUX: parent role=%s, child state=0x%x (expected 0x%x)\n" ,
1652+ wsi -> role_ops ? wsi -> role_ops -> name : "none" , lwsi_state (w ), LRS_H2_WAITING_TO_SEND_HEADERS );
16531653
16541654#if defined(LWS_ROLE_H2 )
16551655 if (lwsi_role_h2 (wsi ) &&
@@ -1669,7 +1669,7 @@ int lws_wsi_mux_apply_queue(struct lws *wsi) {
16691669#endif
16701670
16711671#if defined(LWS_ROLE_H3 )
1672- if ((wsi -> role_ops && !strcmp (wsi -> role_ops -> name , "quic" )) &&
1672+ if ((wsi -> role_ops && ( !strcmp (wsi -> role_ops -> name , "quic" ) || ! strcmp ( wsi -> role_ops -> name , "h3" ) )) &&
16731673 lwsi_state (w ) == LRS_H2_WAITING_TO_SEND_HEADERS ) {
16741674
16751675 if (!lws_wsi_h3_can_adopt (wsi )) {
0 commit comments