Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D83FF200BC5 for ; Tue, 22 Nov 2016 18:54:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D6D5B160B1F; Tue, 22 Nov 2016 17:54:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 52134160AF1 for ; Tue, 22 Nov 2016 18:54:04 +0100 (CET) Received: (qmail 61418 invoked by uid 500); 22 Nov 2016 17:53:58 -0000 Mailing-List: contact issues-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list issues@mesos.apache.org Received: (qmail 61387 invoked by uid 99); 22 Nov 2016 17:53:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Nov 2016 17:53:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 627B52C4C72 for ; Tue, 22 Nov 2016 17:53:58 +0000 (UTC) Date: Tue, 22 Nov 2016 17:53:58 +0000 (UTC) From: "Greg Mann (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MESOS-5658) Socket::shutdown() is inconsistent with BSD sockets API MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 22 Nov 2016 17:54:05 -0000 [ https://issues.apache.org/jira/browse/MESOS-5658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Greg Mann updated MESOS-5658: ----------------------------- Sprint: Mesosphere Sprint 47 > 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 > Assignee: Greg Mann > 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)