• 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.
stats.h 2.6 KB