kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Fox (Jira)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-3702) SslTransportLayer.close() does not shutdown gracefully
Date Tue, 16 Feb 2021 14:07:01 GMT

    [ https://issues.apache.org/jira/browse/KAFKA-3702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17285212#comment-17285212

Tim Fox commented on KAFKA-3702:

Maybe I am missing something but writing to the connection (via flush) after closeOutbound
has been called seems wrong to me.

closeOutBound cause close_notify to be sent to the peer. AIUI, you shouldn't wrote more data
on a connection after close_notify has been sent.

When the peer receives the close_notify it might close the connection. If we then continue
to send more data it's likely that we might receive "connection reset by peer" or similar
as the connection will already have been closed (I believe this is what we see).


> SslTransportLayer.close() does not shutdown gracefully
> ------------------------------------------------------
>                 Key: KAFKA-3702
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3702
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions:
>            Reporter: Rajini Sivaram
>            Assignee: Rajini Sivaram
>            Priority: Major
> The warning "Failed to send SSL Close message" occurs very frequently when SSL connections
are closed. Close should write outbound data and shutdown gracefully.

This message was sent by Atlassian Jira

View raw message