Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ aws_check_headers(${PROJECT_NAME} ${AWS_IO_HEADERS})

aws_add_sanitizers(${PROJECT_NAME})

target_compile_definitions(${PROJECT_NAME} PRIVATE "-DDEBUG_BUILD")

# We are not ABI stable yet
set_target_properties(${PROJECT_NAME} PROPERTIES VERSION 1.0.0)

Expand Down
1 change: 1 addition & 0 deletions source/channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -1005,6 +1005,7 @@ int aws_channel_slot_on_handler_shutdown_complete(
}

size_t aws_channel_slot_downstream_read_window(struct aws_channel_slot *slot) {
AWS_FATAL_ASSERT(false);
AWS_ASSERT(slot->adj_right);
return slot->channel->read_back_pressure_enabled ? slot->adj_right->window_size : SIZE_MAX;
}
Expand Down
2 changes: 2 additions & 0 deletions source/channel_bootstrap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1583,6 +1583,8 @@ static void s_on_server_channel_on_setup_completed(struct aws_channel *channel,
* when a TLS connection has been successfully established. At that point, we signal a successful TLS
* handshake, which also makes the server name and protocol available (if provided).
*/
// FIXME A code path used in the tls_server_hangup_during_negotiation test needs a slot
// set by s_setup_server_tls.
s_tls_server_on_negotiation_result(socket_channel_handler, socket_slot, err_code, channel_data);
return;
}
Expand Down
1 change: 1 addition & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ generate_test_driver(${TEST_BINARY_NAME})
if(USE_S2N)
target_compile_definitions(${PROJECT_NAME}-tests PRIVATE "-DUSE_S2N")
endif()
target_compile_definitions(${PROJECT_NAME}-tests PRIVATE "-DDEBUG_BUILD")

# SSL certificates to use for testing.
add_custom_command(TARGET ${TEST_BINARY_NAME} PRE_BUILD
Expand Down
Loading