- 12 Mar, 2020 1 commit
-
-
Rosen Penev authored
The former is deprecated by C++14. It's also functionally the same. From the standard: 19.4 The header<cerrno>is described in Table 43. Its contents are the same as the POSIX header<errno.h>,except that errno shall be defined as a macro. [Note: The intent is to remain in close alignment with the POSIX standard.] A separate errno value shall be provided for each thread. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 01 Feb, 2020 1 commit
-
-
Max Kellermann authored
-
- 29 Jul, 2019 1 commit
-
-
Max Kellermann authored
-
- 19 Nov, 2018 1 commit
-
-
Max Kellermann authored
Since we switched from autotools to Meson in commit 94592c14, we don't need to include `config.h` early to properly enable large file support. Meson passes the required macros on the compiler command line instead of defining them in `config.h`. This means we can include `config.h` at any time, whenever we want to check its macros, and there are no ordering constraints.
-
- 21 Aug, 2018 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
The new implementation is copied from another project and is BSD-licensed. It is exception-safe and can parse IPv6 scope ids with interface names.
-
- 12 Dec, 2017 1 commit
-
-
Max Kellermann authored
Only _WIN32 is defined by the compiler, and WIN32 is not standardized and may be missing. Closes #169
-
- 03 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 28 Oct, 2016 1 commit
-
-
Max Kellermann authored
-
- 12 Jun, 2016 1 commit
-
-
Lazaros Koromilas authored
Signed-off-by:
Lazaros Koromilas <lostd@2f30.org>
-
- 01 Mar, 2016 1 commit
-
-
Max Kellermann authored
-
- 26 Feb, 2016 1 commit
-
-
Max Kellermann authored
-
- 22 Jul, 2015 1 commit
-
-
Max Kellermann authored
-
- 10 Feb, 2015 4 commits
-
-
Max Kellermann authored
Handles abstract sockets on Linux.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 01 Jan, 2015 1 commit
-
-
Max Kellermann authored
-
- 30 Jul, 2014 1 commit
-
-
Max Kellermann authored
-
- 13 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 04 Dec, 2013 2 commits
-
-
Max Kellermann authored
No GLib memory allocation.
-
Max Kellermann authored
No GLib memory allocation.
-
- 28 Nov, 2013 1 commit
-
-
Max Kellermann authored
-
- 04 Nov, 2013 1 commit
-
-
Max Kellermann authored
getnameinfo() doesn't work well - it always returns "localhost".
-
- 15 Oct, 2013 1 commit
-
-
Max Kellermann authored
-
- 05 Sep, 2013 1 commit
-
-
Max Kellermann authored
-
- 04 Sep, 2013 2 commits
-
-
Max Kellermann authored
Replaces GLib's GError.
-
Max Kellermann authored
-
- 07 Aug, 2013 1 commit
-
-
Max Kellermann authored
-
- 09 Jul, 2012 1 commit
-
-
Max Kellermann authored
GLib 2.16 was released more than 4 years ago. Let's remove some cruft from the glib_compat.h header, and avoid new cruft to it.
-
- 09 Oct, 2011 1 commit
-
-
Max Kellermann authored
In a C file, that is too late, because _mingw.h defaults to 0x0502, and ours would be illegal redefintion.
-
- 20 Sep, 2011 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Wrap close(), use closesocket() on WIN32/WinSock.
-
- 19 Sep, 2011 1 commit
-
-
Dan McGee authored
If a connected host disappears without our knowledge, as can happen over wireless or a hibernating machine, we continue to hold the port open waiting for messages. Because we never try to send anything down this now-broken pipe, the connection will sit idle taking up a slot in our allowed incoming connections list. If enough of these happen, an unintended Denial of Service takes place, where all connection slots are filled with now-broken, never ending connections. Setting the TCP keepalive option at least allows these to time out after the default two hours, which is sufficient in the non-malicious case. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 29 Jan, 2011 1 commit
-
-
Max Kellermann authored
-
- 18 May, 2010 1 commit
-
-
Max Kellermann authored
In the winsock headers, the setsockopt() argument is declared as "const char *", not "const void *".
-
- 22 Mar, 2010 1 commit
-
-
Avuton Olrich authored
-
- 01 Jan, 2010 1 commit
-
-
Avuton Olrich authored
-
- 12 Nov, 2009 1 commit
-
-
Max Kellermann authored
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue.
-