Jojy Varghese created MESOS-4202:
------------------------------------
Summary: Race in SSL socket shutdown
Key: MESOS-4202
URL: https://issues.apache.org/jira/browse/MESOS-4202
Project: Mesos
Issue Type: Bug
Reporter: Jojy Varghese
Assignee: Jojy Varghese
libprocess Socket shares the ownership of the file descriptor with libevent. In
the destructor of the libprocess libevent_ssl socket, we call ssl shutdown which
is executed asynchronously. This causes the libprocess socket file descriptor
tobe closed (and possibly reused) when the same file descriptor could be used
bylibevent/ssl. Since we set the shutdown options as SSL_RECEIVED_SHUTDOWN, we
leave the any write operations to continue with possibly closed file descriptor.
This issue manifests as junk characters written to the file that has been
handled the closed socket file descriptor (by OS) that has the above issue.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)