Skip to content

Commit b24f6a8

Browse files
committed
Reveal the issue
1 parent 1af325b commit b24f6a8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

source/channel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,7 @@ int aws_channel_slot_on_handler_shutdown_complete(
10051005
}
10061006

10071007
size_t aws_channel_slot_downstream_read_window(struct aws_channel_slot *slot) {
1008-
AWS_ASSERT(slot->adj_right);
1008+
AWS_FATAL_ASSERT(slot->adj_right);
10091009
return slot->channel->read_back_pressure_enabled ? slot->adj_right->window_size : SIZE_MAX;
10101010
}
10111011

source/channel_bootstrap.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1583,6 +1583,8 @@ static void s_on_server_channel_on_setup_completed(struct aws_channel *channel,
15831583
* when a TLS connection has been successfully established. At that point, we signal a successful TLS
15841584
* handshake, which also makes the server name and protocol available (if provided).
15851585
*/
1586+
// FIXME A code path used in the tls_server_hangup_during_negotiation test needs a slot
1587+
// set by s_setup_server_tls.
15861588
s_tls_server_on_negotiation_result(socket_channel_handler, socket_slot, err_code, channel_data);
15871589
return;
15881590
}

0 commit comments

Comments
 (0)