1. 09 Jul, 2018 4 commits
  2. 06 Jul, 2018 4 commits
  3. 30 Jun, 2018 1 commit
    • Philipp Schafft's avatar
      Fix: Report correct listen URL to client. · 7742bf0a
      Philipp Schafft authored
      The URL is constructed considering Protocol, TLS Mode, Host, and Port.
      
      This considers:
       - The Host:-header as provided by the client,
       - The effective listensocket of the client,
       - Global configuration.
      
      This works for:
       - Playlist generation,
       - Admin authed playlist generation,
       - Stats based XSLT.
      
      It also unifies code:
       - Default stats values.
      
      Not yet included:
       - YP requests.
      7742bf0a
  4. 27 Jun, 2018 2 commits
  5. 17 Jun, 2018 1 commit
  6. 07 May, 2018 1 commit
    • Philipp Schafft's avatar
      Feature: Generate errors based on IDs. · b42378ab
      Philipp Schafft authored
      This generates error pages based on IDs. This allows to reuse errors
      and add more advanced information to them.
      
      This patch also makes Icecast send in plain text OR HTML based
      on the clients Accept:-string.
      b42378ab
  7. 05 May, 2018 1 commit
  8. 26 Jan, 2016 1 commit
    • Marvin Scholz's avatar
      Fix handling of URIs in custom XSL loader · eecbc647
      Marvin Scholz authored
      There was an error how URIs were handled in our custom XSL loader
      that rewrites include URIs to point to admin dir if the include
      is not found in the current dir.
      
      The check for the file would not work if the path contains chars
      that are usually escaped in URIs, like a space (%20), as we get
      a already encoded version of that URI in the loader and did not
      decode it before checking the existence of the file.
      
      (Fix #2249)
      eecbc647
  9. 01 Mar, 2015 4 commits
  10. 25 Feb, 2015 2 commits
    • Marvin Scholz's avatar
      Only look for admin include if no local found · 0709b4e6
      Marvin Scholz authored
      This switches the behaviour introduced with the last commit
      so that now the admin folder is only checked for includes if
      in the specified path none is found.
      0709b4e6
    • Marvin Scholz's avatar
      Add support for 'admin' includes from web XSLT files · 5b416b31
      Marvin Scholz authored
      This adds support for including xslt files that are in the admin
      directory in an xslt file which is in the webroot, without having to
      specify the full path.
      
      For example:
      
          <xsl:include href="includes/head.xsl"/>
      
      will look inside the admin directory (foo/bar/admin/includes/header.xsl)
      and include it, if it's found. If not it will as usual look for it in
      the directory where the xslt file is located. This enables us to have
      common files like the header, footer, json stuff, etc. in the admin
      directory, so we don't need to have an extra copy in the web folder.
      
      Note:
      The configuration value for the admin directory is requested
      every time an xslt is requested (if not in the cache).
      Additonally it should be noted that the includes are not cached.
      5b416b31
  11. 01 Feb, 2015 1 commit
    • Philipp Schafft's avatar
      Fix: Added some more HTTP/1.1 headers · 8941de32
      Philipp Schafft authored
      This adds to all responses:
       * "Accept-Encoding: identity"
       * "Connection: close"
       * "Allow: GET, SOURCE" or "Allow: GET" (on admin pages)
      
      This is to generate some infrastructure for Icecast to tell futur
      source clients what is supported.
      
      "Upgrade: TLS/1.0" should be added later when upgrade support is present.
      
      See: #2152
      8941de32
  12. 10 Jan, 2015 1 commit
  13. 14 Dec, 2014 1 commit
    • Philipp Schafft's avatar
      Fix: Fixed compiler warnings · dc016bc0
      Philipp Schafft authored
      This fixes some compiler warnings. The code should be warning free
      if gcc with -Wall is used but for the following:
      {{{
      admin.c: In function 'command_manageauth':
      admin.c:790: warning: unused variable 'mountinfo'
      }}}
      This warning is due <role> migration. See #2123 for more details on
      this warning. Please test with care. closes 2063
      dc016bc0
  14. 02 Dec, 2014 1 commit
  15. 30 Nov, 2014 1 commit
  16. 21 Nov, 2014 1 commit
  17. 18 Nov, 2014 2 commits
  18. 10 Nov, 2014 1 commit
    • Philipp Schafft's avatar
      patch to fix regression on header size with large headers introduced by... · d06b6b18
      Philipp Schafft authored
      patch to fix regression on header size with large headers introduced by support of <server-id> and <http-headers>. This should ensure we have at least space for 2kB of extra headers. Depending on function and call we may have much more space.
      
      Please test this very carefully.
      Some pointers what should be in the tests (NOT complet list):
      - request to 'static' web/ and admin/ pages.
      - requests to playlist generation.
      - requests to streams.
      - requests to admin/ manipulation functions.
      - test everything with at least 8kB of extra headers, then reduce in 1kB (or 512B) steps.
      - see if response is correct OR 500 is returned.
      - run under valgrind or similar to see no buffer overflow or similiar will happen.
      - take a cookie!
      
      svn path=/icecast/trunk/icecast/; revision=19300
      d06b6b18
  19. 07 Nov, 2014 1 commit
  20. 31 Oct, 2014 1 commit
  21. 09 Oct, 2014 1 commit
  22. 23 Feb, 2014 1 commit
  23. 10 Oct, 2012 1 commit
  24. 17 Jul, 2012 1 commit
  25. 11 Feb, 2008 1 commit
  26. 04 Oct, 2007 1 commit
  27. 11 Aug, 2007 1 commit
  28. 17 Dec, 2005 1 commit