Files
newlib/winsup/cygwin
Takashi Yano 9c84bfd479 Fix the handling of out-of-band (OOB) data in a socket.
* fhandler.h (class fhandler_socket_inet): Add variable bool oobinline.
* fhandler_socket_inet.cc (fhandler_socket_inet::fhandler_socket_inet):
  Initialize variable oobinline.
(fhandler_socket_inet::recv_internal): Make the handling of OOB data
  as consistent with POSIX as possible. Add simulation of inline mode
  for OOB data as a workaround for broken winsock behavior.
(fhandler_socket_inet::setsockopt): Ditto.
(fhandler_socket_inet::getsockopt): Ditto.
(fhandler_socket_wsock::ioctl): Fix return value of SIOCATMARK command.
  The return value of SIOCATMARK of winsock is almost opposite to
  expectation.
* fhandler_socket_local.cc (fhandler_socket_local::recv_internal):
  Remove the handling of OOB data from AF_LOCAL domain socket. Operation
  related to OOB data will result in an error like Linux does.
(fhandler_socket_local::sendto): Ditto.
(fhandler_socket_local::sendmsg): Ditto.

This fixes the issue reported in following post.
https://cygwin.com/ml/cygwin/2018-06/msg00143.html
2018-06-22 10:20:08 +02:00
..
2018-06-07 09:42:36 +02:00
2016-11-24 16:09:31 +01:00
2016-08-23 15:07:42 +01:00
2016-06-25 00:43:01 +02:00
2018-02-20 17:59:53 +01:00
2015-03-03 12:58:34 +00:00
2016-06-24 23:32:39 +02:00
2018-03-06 18:23:23 +01:00
2015-11-18 19:09:47 +01:00
2017-03-27 22:03:58 +01:00
2015-08-17 11:05:43 +02:00
2016-06-23 21:30:15 +02:00
2018-03-09 14:17:39 +01:00
2018-02-07 13:07:44 +01:00
2018-04-16 22:46:11 -05:00
2018-02-07 13:07:44 +01:00
2017-03-27 22:03:58 +01:00
2018-02-07 13:07:44 +01:00
2018-02-07 13:07:44 +01:00
2018-02-07 13:07:44 +01:00
2016-06-23 16:56:41 +02:00
2017-04-24 17:14:03 +02:00