aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/ServerSocket.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* event/ServerSocket: fix AF_UNIX address in use errorAnthony DeRossi2015-09-301-0/+2
| | | | | | | bind fails with an "address already in use" error if the socket path already exists. This was broken by cbb595ba.
* event/ServerSocket: use AllocatedSocketAddress to build local socket addressMax Kellermann2015-07-221-13/+4
|
* event/ServerSocket: use AllocatedSocketAddress for OneServerSocket::addressMax Kellermann2015-07-221-9/+14
| | | | Manages memory automatically.
* net/StaticSocketAddress: replace cast operator with GetAddress()Max Kellermann2015-07-221-2/+2
| | | | The implicit cast operator can be very dangerous.
* net/ToString: rename sockaddr_to_string() to ToString()Max Kellermann2015-07-221-1/+1
|
* net/Resolver: move sockaddr_to_string() to ToString.cxxMax Kellermann2015-07-221-0/+1
|
* event/ServerSocket: #ifdef out local socket support on WindowsMax Kellermann2015-03-051-0/+8
|
* net/StaticSocketAdress: new class wrapping struct sockaddr_storageMax Kellermann2015-02-131-7/+11
|
* net/SocketAddress: light wrapper for struct sockaddrMax Kellermann2015-02-101-22/+21
|
* system/{Resolver,Socket{Error,Util}}: move to new library libnet.aMax Kellermann2015-02-101-3/+3
|
* event/ServerSocket: remove obsolete macro DEFAULT_PORTMax Kellermann2015-02-101-2/+0
|
* Copyright year 2015Max Kellermann2015-01-011-1/+1
|
* playlist, InotifySource, ...: update GLib commentsMax Kellermann2014-12-041-1/+1
|
* Merge tag 'v0.18.18' into v0.19.xMax Kellermann2014-11-181-1/+1
|\
| * event/ServerSocket: fix get_remote_uid() error valueMax Kellermann2014-11-181-1/+1
| | | | | | | | Must return -1 on error, not 0. 0 is root.
* | configure.ac: always define _GNU_SOURCE on LinuxMax Kellermann2014-03-151-5/+0
| | | | | | | | Make sure glibc gives us all features.
* | copyright year 2014Max Kellermann2014-01-131-1/+1
| |
* | util/Alloc: new library replacing GLib's g_malloc()Max Kellermann2014-01-071-4/+3
| |
* | event/SocketMonitor: don't close the socket automaticallyMax Kellermann2014-01-061-0/+3
| | | | | | | | | | | | 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.
* | system/Resolver: sockaddr_to_string() returns std::string()Max Kellermann2013-12-041-22/+11
| | | | | | | | No GLib memory allocation.
* | include cleanup using iwyuMax Kellermann2013-11-281-0/+1
|/
* event/ServerSocket: don't abort if IPv6 is not availableMax Kellermann2013-11-041-1/+19
| | | | First check if an IPv6 socket can be created.
* event/ServerSocket: fix assertion failureMax Kellermann2013-11-041-1/+1
| | | | Regression from previous commit. D'oh!
* event/ServerSocket: open sockets in the order they were configuredMax Kellermann2013-11-041-3/+3
| | | | Use a std::list which can be appended at the end.
* event/ServerSocket: pass AllocatedPath to AddPath()Max Kellermann2013-10-191-13/+16
|
* Log: new logging library APIMax Kellermann2013-10-021-11/+12
| | | | | Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
* system/SocketError: un-inline constructorMax Kellermann2013-09-041-0/+2
| | | | Reduces header dependencies.
* util/Error: new error passing libraryMax Kellermann2013-09-041-41/+35
| | | | Replaces GLib's GError.
* system/resolver: convert to C++Max Kellermann2013-09-041-1/+1
|
* Makefile.am: move sources to libsystem.aMax Kellermann2013-08-071-4/+4
|
* event/ServerSocket: close only sockets that have been openedMax Kellermann2013-02-041-1/+3
| | | | Fixes assertion failure.
* ServerSocket: Initialize length variableUli Schlachter2013-02-041-1/+1
|
* ServerSocket: replace callback with virtual methodMax Kellermann2013-01-301-12/+7
|
* ServerSocket: expose the classMax Kellermann2013-01-301-103/+59
| | | | Eliminate the C wrappers.
* ServerSocket: move to libevent.aMax Kellermann2013-01-301-0/+485