Commit Graph

14 Commits

Author SHA1 Message Date
Martin Pulec
1b3b27eb7c Updated copyright dates for modified files 2021-11-08 15:43:14 +01:00
Martin Pulec
4aaec8f7f0 Fixed some Coverity warnings 2021-02-23 15:00:58 +01:00
Martin Pulec
51f2bda963 Plaform pipe: fixed getsockopt len 2020-11-24 15:47:18 +01:00
Martin Pulec
efd2c70235 Platform pipe: use plain pipe if TCP compat fails
Use plain pipe if the TCP compat fails in Linux. This fixes a problem
when there is unavailable loopback connection (eg. running in a separate
network namespace with unassigned loopback address).
2020-11-10 14:04:28 +01:00
Martin Pulec
4554f956ef Platform pipe: add timeouts
Do not hang if anything goes wrong (eg. loopback doesn't connect).
2020-11-10 12:53:29 +01:00
Martin Pulec
37f55d45f3 Platform_pipe: call WSAStartup/WSACleanup explicitly
Not all pipes are destroyed upon common_cleanup call (which calls
WSACleanup).
2020-01-21 10:29:10 +01:00
Martin Pulec
31d9809fcd Updated documentation
Updated authors, copyright to 3-clause BSD (where possible) and file-level Doxygen
2019-11-09 13:47:11 +01:00
Martin Pulec
c0677ab2e7 Fixed Windows crash
+ be more verbose about errors
2019-11-09 13:46:52 +01:00
Martin Pulec
dfcd5a1084 Platform pipe: tiny change 2018-04-24 09:59:32 +02:00
Martin Pulec
6a1ee06b48 Fixed another Coverity bugs 2017-03-22 13:44:17 +01:00
Martin Pulec
8b4679710d Import: correctly close socket on error
+ use CLOSESOCKET macro instead of close
+ moved CLOSESOCKET macro to config_unix.h and config_win32.h
2017-03-17 15:39:04 +01:00
Martin Pulec
892883df02 Fixed some Coverity bugs 2016-06-28 17:33:24 +02:00
Martin Pulec
83c9421b4a Fixed some Coverity issues 2015-10-19 11:31:10 +02:00
Martin Pulec
3683438e6a Use pipe supplement over loopback
There isn't pipe() command on MSW, so use this version to supplement it.
2015-07-13 10:06:58 +02:00