Skip to content

Commit 1a8c19e

Browse files
JonathanHensonjustinboswell
authored andcommitted
Fixed fragmentation bugs for secure channel, alpn no longer fails the… (#111)
* Fixed fragmentaiton bugs for secure channel, alpn no longer fails the negotiation if one of the endpoints didn't negotiate. * Fixed bug in iocp socket callback, logging stuff it shouldn't and more fragmentation fixes for securechannel. * Addressed PR feedback. * Fixed warning on windows about append_failed
1 parent c109ffe commit 1a8c19e

File tree

2 files changed

+129
-116
lines changed

2 files changed

+129
-116
lines changed

source/windows/iocp/socket.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -835,8 +835,8 @@ void s_socket_connection_completion(
835835
AWS_LOGF_ERROR(
836836
AWS_LS_IO_SOCKET,
837837
"id=%p handle=%p: connect completion triggered with error %d",
838-
(void *)socket_args->socket,
839-
(void *)socket_args->socket->io_handle.data.handle,
838+
(void *)socket,
839+
(void *)socket->io_handle.data.handle,
840840
status_code);
841841
int error = s_determine_socket_error(status_code);
842842
socket_impl->vtable->connection_error(socket, error);
@@ -958,7 +958,7 @@ static inline int s_tcp_connect(
958958
}
959959

960960
AWS_LOGF_TRACE(
961-
AWS_LS_IO_TLS,
961+
AWS_LS_IO_SOCKET,
962962
"id=%p handle=%p: connection pending, scheduling timeout task",
963963
(void *)socket,
964964
(void *)socket->io_handle.data.handle);

0 commit comments

Comments
 (0)