aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/HttpdOutputPlugin.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-10-20TagType: rename enum tag_type to TagTypeMax Kellermann1-1/+1
2013-10-02output/httpd: don't include glib.h in headerMax Kellermann1-1/+3
2013-10-02Log: new logging library APIMax Kellermann1-8/+8
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-09-04util/Error: new error passing libraryMax Kellermann1-35/+30
Replaces GLib's GError.
2013-09-04system/resolver: convert to C++Max Kellermann1-1/+1
2013-08-07Makefile.am: move sources to libsystem.aMax Kellermann1-2/+2
2013-08-04EncoderPlugin: pass config_param referenceMax Kellermann1-1/+1
2013-08-04OutputPlugin: pass config_param referenceMax Kellermann1-12/+10
2013-08-03audio_format: convert to C++Max Kellermann1-4/+4
2013-07-30tag: convert to C++Max Kellermann1-3/+4
2013-07-30encoder_api: convert to C++Max Kellermann1-6/+5
2013-07-30output_api: convert to C++Max Kellermann1-1/+1
2013-05-12timer: convert to classDenis Krjuchkov1-8/+8
2013-04-17encoder_list: convert to C++Max Kellermann1-1/+1
2013-01-30output/httpd: use the BufferedSocket class for HttpdClientMax Kellermann1-1/+1
2013-01-30ServerSocket: replace callback with virtual methodMax Kellermann1-25/+23
2013-01-30output/httpd: safer cast, consider offsetMax Kellermann1-10/+16
2013-01-30output/httpd: add constructor, destructor, Configure()Max Kellermann1-48/+59
2013-01-30ServerSocket: expose the classMax Kellermann1-8/+7
Eliminate the C wrappers.
2013-01-30ServerSocket: move to libevent.aMax Kellermann1-1/+1
2013-01-30page: convert to C++Max Kellermann1-11/+11
2013-01-30icy_server: convert to C++Max Kellermann1-1/+1
2013-01-30icy_server: pass pointer to _metadata_page()Max Kellermann1-3/+6
Don't use va_list.
2013-01-27output/httpd: move functions into the HttpdOutput classMax Kellermann1-155/+136
2013-01-27output/httpd: rename struct httpd_outputMax Kellermann1-25/+25
2013-01-15ServerSocket: use the SocketMonitor classMax Kellermann1-1/+3
2013-01-15server_socket: convert to C++Max Kellermann1-1/+1
2013-01-15output/httpd: convert to C++Max Kellermann1-144/+91
2012-10-02output/httpd: make variables more localMax Kellermann1-31/+16
2012-08-14output/httpd: move delay from _pause() to _delay()Max Kellermann1-1/+5
2012-08-14output/httpd: fix throttling bug after resuming playbackMax Kellermann1-0/+8
Reset the timer when paused and no client is connected. This fixes Mantis ticket 0003527.
2012-08-14output/httpd: move code to _has_clients()Max Kellermann1-11/+27
2011-09-20socket_util: move sockaddr_to_string() to resolver.cMax Kellermann1-1/+1
2011-09-20fd_util: add function close_socket()Max Kellermann1-2/+2
Wrap close(), use closesocket() on WIN32/WinSock.
2011-09-19output_plugin: the plugin allocates the audio_output objectMax Kellermann1-27/+41
Pass audio_output objects around instead of void pointers. This will give some more control to the plugin, and prepares for non-blocking audio outputs.
2011-09-17output: per-plugin headerMax Kellermann1-0/+1
Move the "extern" declarations from output_list.c, for more type safety.
2011-07-20encoder_plugin: add method pre_tag()Max Kellermann1-1/+1
In the "vorbis" plugin, this is a copy of the old flush() method, while flush() gets a lot of code remove, it just sets the "flush" flag and nothing else. It doesn't start a new stream now, which should fix a few problems in some players.
2011-07-20output/httpd: explicitly convert size_t to bool in pause()Max Kellermann1-1/+2
2011-07-18output/httpd: add missing g_free in error pathJonathan Neuschäfer1-0/+1
2011-03-18output/httpd: include sys/socket.h only when building with libwrapMax Kellermann1-1/+1
Fixes build failure on WIN32.
2011-03-09output/httpd: include sys/socket.h for AF_UNIXUlrich Spörlein1-0/+1
2011-02-09output/httpd: initialize unflushed_inputThomas Jansen1-0/+1
This fixes the following valgrind warning occuring on the first call of httpd_output_read_page: ==20124== Conditional jump or move depends on uninitialised value(s) ==20124== at 0x425E65: httpd_output_read_page (httpd_output_plugin.c:240) ==20124== by 0x426087: httpd_output_open (httpd_output_plugin.c:279) ==20124== by 0x41D862: ao_open (output_plugin.h:206) ==20124== by 0x41E133: audio_output_task (output_thread.c:590)
2011-01-29copyright year 2011Max Kellermann1-1/+1
2010-11-05output/httpd: implement delay()Max Kellermann1-2/+11
2010-10-05output/httpd: use the new server_socket libraryMax Kellermann1-96/+31
2010-10-05output/httpd: don't close socket in open() failureMax Kellermann1-2/+0
This cleanup call is obsolete, since we moved the binding code to enable()/disable().
2010-10-03output/httpd: MIME type audio/ogg for Ogg VorbisMax Kellermann1-1/+1
RFC 5334 10.3 defines the MIME type "audio/ogg". We could use "application/ogg" as well, but we know for sure that we only emit audio data.
2010-09-25output/httpd: bind_to_address support (including IPv6)Thomas Jansen1-12/+52
Added support for a new optional configuration setting for the httpd output named "bind_to_address". Setting it to a specific IP address (v4 or v6) will cause the httpd output to bind to that address exclusively. Supporting multiple addresses in parallel is future work. This implements the feature requests #2998 and #2646.
2010-09-23output/httpd: access sockaddr_storage object directlyMax Kellermann1-3/+2
Work around aliasing warning.
2010-08-31output/httpd: implement "pause"Max Kellermann1-0/+19
Send silence to all connected clients while paused, to avoid connection interruption.