[PATCH cygwin] Re: Problems of AF_INET domain socket regarding out-of-band data.

Takashi Yano takashi.yano@nifty.ne.jp
Thu Jun 21 14:57:00 GMT 2018


Hi Corinna,

On Thu, 21 Jun 2018 09:19:54 +0200
Corinna Vinschen wrote:
> - The minor point: There's a typo "oub-of-band" in the comment
>   handling the SO_OOBINLINE ioctl.

Fixed. Thanks.

> - The major point: Now that INET and LOCAL sockets are handled
>   separately, we may want to follow Linux' lead:
> 
>   "UNIX domain sockets do not support the transmission of out-of-band data
>    (the MSG_OOB flag for send(2) and recv(2))" (quote from `man 7 unix')
> 
>   If I ever get around to finish the new AF_UNIX implemantation it won't
>   support OOB anyway.  For the time being, we may want to disable OOB in
>   fhandler_socket_local already, so, rather than duplicating the changes
>   to AF_INET, we could simply disable OOB handling in
>   fhandler_socket_local entirely.  Care to do that?

I removed the OOB data handling from AF_LOCAL socket.

Please find a new patch attached.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-the-handling-of-out-band-data-OOB-in-a-socket.patch
Type: application/octet-stream
Size: 11096 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20180621/7c6d4ac4/attachment.obj>


More information about the Cygwin-patches mailing list