diff options
-rw-r--r-- | src/handshake.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/handshake.c b/src/handshake.c index 2015208..5553eb9 100644 --- a/src/handshake.c +++ b/src/handshake.c @@ -209,6 +209,8 @@ void fastd_handshake_handle(fastd_context *ctx, fastd_peer *peer, fastd_buffer b fastd_handshake_add_uint8(ctx, &reply_buffer, RECORD_HANDSHAKE_TYPE, 2); fastd_handshake_add_uint8(ctx, &reply_buffer, RECORD_REPLY_CODE, reply_code); fastd_handshake_add_uint8(ctx, &reply_buffer, RECORD_ERROR_DETAIL, error_detail); + + fastd_task_put_send_handshake(ctx, peer, reply_buffer); } else { ctx->conf->protocol->handshake_handle(ctx, peer, &handshake); |