Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-08-21 | net/Resolver: replace with more advanced implementation | Max Kellermann | |
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. | |||
2018-08-14 | fixed setting unix socket permissions | 1848 | |
first call fchmod() to prevent TOCTTOU, then apply permissions using chmod() | |||
2018-08-09 | event/ServerSocket: fix get_remote_uid() call | Max Kellermann | |
This call was broken since commit 9a5bcc6db0c58459b63d25fede1945b7ebef67a8 because the `UniqueSocketDescriptor` had already been moved. | |||
2018-08-07 | Moved call to fchmod() on socket from OneServerSocket::Open() to ↵ | 1848 | |
socket_bind_listen() | |||
2018-08-07 | Use fchmod instead of chmod for unix sockets to prevent TOCTTOU | 1848 | |
2018-01-17 | fs/AllocatedPath: make the nullptr_t constructor public | Max Kellermann | |
2017-12-19 | Main, ...: catch any exception, not just std::runtime_error | Max Kellermann | |
2017-12-16 | Merge branch 'v0.20.x' | Max Kellermann | |
2017-12-12 | *: check defined(_WIN32) instead of defined(WIN32) | Max Kellermann | |
Only _WIN32 is defined by the compiler, and WIN32 is not standardized and may be missing. Closes #169 | |||
2017-11-10 | event/SocketMonitor: rename Get() to GetSocket() | Max Kellermann | |
2017-11-10 | event/SocketMonitor: add "noexcept" | Max Kellermann | |
2017-08-11 | system/fd_util: remove unused library | Max Kellermann | |
2017-08-11 | net/IPv4Address: new class | Max Kellermann | |
2017-08-10 | net/SocketDescriptor: add method SetKeepAlive() | Max Kellermann | |
2017-08-10 | net/ServerSocket: pass UniqueSocketDescriptor&& to OnAccept() | Max Kellermann | |
2017-08-10 | event/SocketMonitor: use class SocketDescriptor | Max Kellermann | |
2017-08-10 | net/SocketUtil: socket_bind_listen() returns UniqueSocketDescriptor | Max Kellermann | |
2017-05-08 | *: add "noexcept" to many, many function prototypes | Max Kellermann | |
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing. | |||
2017-01-03 | update copyright year | Max Kellermann | |
2016-10-28 | event/ServerSocket: migrate from class Error to C++ exceptions | Max Kellermann | |
2016-08-15 | fs/FileSystem: RemoveFile() throws exception on error | Max Kellermann | |
2016-03-01 | *: include cleanup (using iwyu) | Max Kellermann | |
2016-02-26 | update copyright year to 2016 | Max Kellermann | |
2015-09-30 | event/ServerSocket: fix AF_UNIX address in use error | Anthony DeRossi | |
bind fails with an "address already in use" error if the socket path already exists. This was broken by cbb595ba. | |||
2015-07-22 | event/ServerSocket: use AllocatedSocketAddress to build local socket address | Max Kellermann | |
2015-07-22 | event/ServerSocket: use AllocatedSocketAddress for OneServerSocket::address | Max Kellermann | |
Manages memory automatically. | |||
2015-07-22 | net/StaticSocketAddress: replace cast operator with GetAddress() | Max Kellermann | |
The implicit cast operator can be very dangerous. | |||
2015-07-22 | net/ToString: rename sockaddr_to_string() to ToString() | Max Kellermann | |
2015-07-22 | net/Resolver: move sockaddr_to_string() to ToString.cxx | Max Kellermann | |
2015-03-05 | event/ServerSocket: #ifdef out local socket support on Windows | Max Kellermann | |
2015-02-13 | net/StaticSocketAdress: new class wrapping struct sockaddr_storage | Max Kellermann | |
2015-02-10 | net/SocketAddress: light wrapper for struct sockaddr | Max Kellermann | |
2015-02-10 | system/{Resolver,Socket{Error,Util}}: move to new library libnet.a | Max Kellermann | |
2015-02-10 | event/ServerSocket: remove obsolete macro DEFAULT_PORT | Max Kellermann | |
2015-01-01 | Copyright year 2015 | Max Kellermann | |
2014-12-04 | playlist, InotifySource, ...: update GLib comments | Max Kellermann | |
2014-11-18 | Merge tag 'v0.18.18' into v0.19.x | Max Kellermann | |
2014-11-18 | event/ServerSocket: fix get_remote_uid() error value | Max Kellermann | |
Must return -1 on error, not 0. 0 is root. | |||
2014-03-15 | configure.ac: always define _GNU_SOURCE on Linux | Max Kellermann | |
Make sure glibc gives us all features. | |||
2014-01-13 | copyright year 2014 | Max Kellermann | |
2014-01-07 | util/Alloc: new library replacing GLib's g_malloc() | Max Kellermann | |
2014-01-06 | event/SocketMonitor: don't close the socket automatically | Max Kellermann | |
Users now have to call Close() explicitly. This simplifies using the class, as most users have automatic socket management already, and Steal() had to be used often. | |||
2013-12-04 | system/Resolver: sockaddr_to_string() returns std::string() | Max Kellermann | |
No GLib memory allocation. | |||
2013-11-28 | include cleanup using iwyu | Max Kellermann | |
2013-11-04 | event/ServerSocket: don't abort if IPv6 is not available | Max Kellermann | |
First check if an IPv6 socket can be created. | |||
2013-11-04 | event/ServerSocket: fix assertion failure | Max Kellermann | |
Regression from previous commit. D'oh! | |||
2013-11-04 | event/ServerSocket: open sockets in the order they were configured | Max Kellermann | |
Use a std::list which can be appended at the end. | |||
2013-10-19 | event/ServerSocket: pass AllocatedPath to AddPath() | Max Kellermann | |
2013-10-02 | Log: new logging library API | Max Kellermann | |
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | |||
2013-09-04 | system/SocketError: un-inline constructor | Max Kellermann | |
Reduces header dependencies. |