- 24 Sep, 2009 1 commit
-
-
Max Kellermann authored
Don't call g_error(), which will abort the process and dump core.
-
- 10 Jun, 2009 3 commits
-
-
Max Kellermann authored
Several users had problems with binding MPD to "localhost". The cause was duplicate /etc/hosts entries: the resolver library returns 127.0.0.1 twice, and of course, MPD attempts to bind to "both" of them. This patch makes failures non-fatal, given that at least one address was bound successfully. This is a workaround; users should rather fix their /etc/hosts file.
-
Max Kellermann authored
-
Max Kellermann authored
Dump each socket address before binding to it.
-
- 27 Mar, 2009 1 commit
-
-
Sean McNamara authored
-
- 14 Mar, 2009 1 commit
-
-
Max Kellermann authored
Moved code from listen_add_address() (listen.c) to socket_util.c.
-
- 13 Mar, 2009 1 commit
-
-
Avuton Olrich authored
This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy.
-
- 01 Mar, 2009 3 commits
-
-
Max Kellermann authored
When the unix domain socket path is too long, don't abort with g_error().
-
Max Kellermann authored
-
Max Kellermann authored
During the listen_add_host() API transition, the windows code wasn't tested, and several removed arguments are still in use there.
-
- 28 Feb, 2009 2 commits
-
-
Max Kellermann authored
The generic sockaddr struct is too small for some addresses. For accept(), we have to allocate a sockaddr_storage struct on the stack, which is large enough for all addresses.
-
Max Kellermann authored
Removed the sockaddr_to_tmp_string() hack, use the new function sockaddr_to_string() instead.
-
- 24 Feb, 2009 10 commits
-
-
Max Kellermann authored
Work around gcc warnings by casting the parameters to void.
-
Max Kellermann authored
Don't explicitly check is_ipv6_enabled(), just try calling listen_add_port_ipv6(), but check its error code.
-
Max Kellermann authored
Some more code simplification.
-
Max Kellermann authored
For default bind_to_address settings, don't call listen_add_config_param(NULL), use listen_add_port() directly.
-
Max Kellermann authored
Split code from the rather large function listen_add_config_param(), part 3.
-
Max Kellermann authored
Split code from the rather large function listen_add_config_param(), part 2.
-
Max Kellermann authored
Split code from the rather large function listen_add_config_param().
-
Max Kellermann authored
Don't return -1 on failure, and abort on fatal error - do proper error reporting with GError, and return false on failure.
-
Max Kellermann authored
-
Max Kellermann authored
Renamed functions.
-
- 11 Feb, 2009 1 commit
-
-
Qball Cow authored
-
- 25 Jan, 2009 1 commit
-
-
Max Kellermann authored
All config_get_block_*() functions should accept constant config_param pointers.
-
- 21 Jan, 2009 1 commit
-
-
Max Kellermann authored
Simplify some code by using config_get_positive(), instead of doing manual parsing and validation each time.
-
- 17 Jan, 2009 1 commit
-
-
Max Kellermann authored
Renamed functions, types, variables.
-
- 16 Jan, 2009 1 commit
-
-
Max Kellermann authored
-
- 15 Jan, 2009 1 commit
-
-
Max Kellermann authored
The function ipv6Supported() is not used at all when IPv6 support was disabled at compile time.
-
- 10 Jan, 2009 2 commits
-
-
Max Kellermann authored
Free memory before exiting.
-
Max Kellermann authored
Make the listen socket an object, allowing us to add more fields later. Convert listenSockets into a simple linked list.
-
- 03 Jan, 2009 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
WIN32 has no getaddrinfo(). Fall back to gethostbyname().
-
- 30 Dec, 2008 5 commits
-
-
Max Kellermann authored
This is a rather huge patch, which unfortunately cannot be splitted. Instead of using our custom ioops.h library, convert everything to use the GLib main loop.
-
Max Kellermann authored
There is no point in making the server socket non-blocking. We call accept() only after select() has notified us about a new connection.
-
Max Kellermann authored
On Windows, socket declarations reside in winsock.h and ws2tcpip.h. The POSIX headers are not available.
-
Max Kellermann authored
redirect_stdin() is a daemonization function, and disconnecting from the standard input is always a good idea for MPD.
-
Max Kellermann authored
Merged freeAllListenSockets() into closeAllListenSockets(), because this is its only caller.
-
- 29 Dec, 2008 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Only include headers which are really needed. os_compat.h aimed to make MPD easily portable, but was never actually made portable.
-