mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Mahler <benjamin.mah...@gmail.com>
Subject Re: Review Request 46026: Documented `Socket::shutdown()` member function in libprocess.
Date Mon, 11 Apr 2016 21:46:25 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/46026/#review128261
-----------------------------------------------------------




3rdparty/libprocess/include/process/socket.hpp (lines 176 - 187)
<https://reviews.apache.org/r/46026/#comment191681>

    Why don't we instead take the "`int how`" as an argument and make the SHUT_RD explicit
in the callers? This interface had come up in the past, would like to see from benh/joris
if there's any that the SHUT_RD was made implicit and no control was given to the caller.


- Ben Mahler


On April 11, 2016, 2:35 p.m., Neil Conway wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/46026/
> -----------------------------------------------------------
> 
> (Updated April 11, 2016, 2:35 p.m.)
> 
> 
> Review request for mesos and Ben Mahler.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> This is slightly confusing, because it doesn't match the
> semantics of the shutdown(2) POSIX function.
> 
> 
> Diffs
> -----
> 
>   3rdparty/libprocess/include/process/socket.hpp 4cb49680d1304899a4ee675ac07379e51d9c55b1

> 
> Diff: https://reviews.apache.org/r/46026/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Neil Conway
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message