1. 07 Jan, 2011 1 commit
  2. 05 May, 2009 1 commit
  3. 13 Apr, 2009 3 commits
  4. 15 Mar, 2009 3 commits
    • Max Kellermann's avatar
      httpd_output: check client->write_source_id in handler · 87070651
      Max Kellermann authored
      Due to a race condition, httpd_client_out_event() could be called even
      when its GLib event source was already removed.  Check that case.
      87070651
    • Max Kellermann's avatar
      httpd_output: clear the client's page queue on cancel · 58844aab
      Max Kellermann authored
      When the httpd output is cancelled, it freed all pages, but didn't
      remove them from the queue.  Call g_queue_clear() and remove the
      write source id.
      58844aab
    • Max Kellermann's avatar
      httpd: new output plugin to replace "shout" · e62580db
      Max Kellermann authored
      Let's get rid of the "shout" plugin, and the awfully complicated
      icecast daemon setup!  MPD can do better if it's doing the HTTP server
      stuff on its own.  This new plugin has several advantages:
      
      - easier to set up - only one daemon, no password settings, no mount
        settings
      - MPD controls the encoder and thus already knows the packet
        boundaries - icecast has to parse them
      - MPD doesn't bother to encode data while nobody is listening
      
      This implementation is very experimental (no header parsing, ignores
      request URI, no icy-metadata, ...).  It should be able to suport
      several encoders in parallel in the future (with different bit rates,
      different codec, ...), to make MPD the perfect streaming server.  Once
      MPD gets multi-player support, we can even mount several different
      radio stations on one server.
      e62580db