[
https://issues.apache.org/jira/browse/MESOS-5658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15339418#comment-15339418
]
Neil Conway commented on MESOS-5658:
------------------------------------
See also https://reviews.apache.org/r/46026
> Socket::shutdown() is inconsistent with BSD sockets API
> -------------------------------------------------------
>
> Key: MESOS-5658
> URL: https://issues.apache.org/jira/browse/MESOS-5658
> Project: Mesos
> Issue Type: Improvement
> Components: libprocess
> Reporter: Neil Conway
> Priority: Minor
>
> In libprocess, the {{Socket::shutdown()}} member function is inconsistent
> with the {{shutdown(2)}} function from the Berkeley sockets API: the former
> doesn't take any parameters (and implicitly *only* shuts down the
> receiver-side of the socket), whereas the latter takes a parameter that
> controls which side(s) are shutdown.
> IMO we should either make these behave the same or document why they are
> different.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)