Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Mesosphere Sprint 24
-
5
Description
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.
Attachments
Issue Links
- is duplicated by
-
MESOS-3773 RegistryClientTest.SimpleGetBlob is flaky
- Resolved