This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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>

Attachment: 0001-Fix-the-handling-of-out-band-data-OOB-in-a-socket.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]