aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_udp.c
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-09-10 16:59:32 +0000
committerng0 <ng0@n0.is>2019-09-10 16:59:32 +0000
commit04b6df21cd281e8cd540139f8d9ae85defc1961c (patch)
tree6357199445df8d5c0c631bc8f10aef838b1f9f1e /src/transport/plugin_transport_udp.c
parent483b0139a218a5f8a8311bda3eb23bcd88f57688 (diff)
downloadgnunet-04b6df21cd281e8cd540139f8d9ae85defc1961c.tar.gz
gnunet-04b6df21cd281e8cd540139f8d9ae85defc1961c.zip
remove CYGWIN codeblocks, drop vendored Windows openvpn, drop win32 specific files.
configures and builds okay. testsuite wasn't checked, will be checked. diff including the plibc removal is now around 14370 lines of code less.
Diffstat (limited to 'src/transport/plugin_transport_udp.c')
-rw-r--r--src/transport/plugin_transport_udp.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c
index 755809194..c056bb79c 100644
--- a/src/transport/plugin_transport_udp.c
+++ b/src/transport/plugin_transport_udp.c
@@ -2929,20 +2929,7 @@ udp_select_read(struct Plugin *plugin, struct GNUNET_NETWORK_Handle *rsock)
2929 (struct sockaddr *)&addr, 2929 (struct sockaddr *)&addr,
2930 &fromlen); 2930 &fromlen);
2931 sa = (const struct sockaddr *)&addr; 2931 sa = (const struct sockaddr *)&addr;
2932#if MINGW 2932
2933 /* On SOCK_DGRAM UDP sockets recvfrom might fail with a
2934 * WSAECONNRESET error to indicate that previous sendto() (yes, sendto!)
2935 * on this socket has failed.
2936 * Quote from MSDN:
2937 * WSAECONNRESET - The virtual circuit was reset by the remote side
2938 * executing a hard or abortive close. The application should close
2939 * the socket; it is no longer usable. On a UDP-datagram socket this
2940 * error indicates a previous send operation resulted in an ICMP Port
2941 * Unreachable message.
2942 */
2943 if ((-1 == size) && (ECONNRESET == errno))
2944 return;
2945#endif
2946 if (-1 == size) 2933 if (-1 == size)
2947 { 2934 {
2948 LOG(GNUNET_ERROR_TYPE_DEBUG, 2935 LOG(GNUNET_ERROR_TYPE_DEBUG,