Re: [devel] [PATCH 1/1] rde: avoid SIGPIPE in send functions [#2800]

2018-03-12 Thread Gary Lee
Thanks for the pickup. My bad. I got preoccupied looking at the partial write and possible issues with recv(). The code seems to assume the entire message is received with each recv(). I guess it's mostly true, because the messages are so small. On 13/03/18 01:30, Anders Widell wrote: Ack

Re: [devel] [PATCH 1/1] rde: avoid SIGPIPE in send functions [#2800]

2018-03-12 Thread Anders Widell
Ack with minor comment: Return type from strlen() is size_t, and return type from send() is ssize_t. So a more type-correct way to implement this is outlined in my inlined comments in the code below. regards, Anders Widell On 03/09/2018 02:44 AM, Gary Lee wrote: ---