Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
Icecast-Server
Icecast-Server
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 93
    • Issues 93
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • External Wiki
    • External Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Xiph.Org
  • Icecast-ServerIcecast-Server
  • Issues
  • #2088

Closed
Open
Opened Nov 14, 2014 by Sven Herzberg@herzi

accept data with “Transfer-Encoding: chunked”

Many HTTP frameworks will automatically encode data streams using the aforementioned method. I propose this behavior for Icecast:

  • check if the protocol is not HTTP/1.1 or there is no Transfer-Encoding header, continue as in the past (i.e. assume identity encoding)
  • if the Transfer-Encoding header is present and it is identity, continue as in the past
  • if the Transfer-Encoding header is present and it is chunked, accept the data and strip the encoding information both from the output stream and from the dumpfile
  • if the Transfer-Encoding header is present and has a different value, terminate the request with 501 (Unimplemented) and provide an HTTP response body listing the supported encodings (in case developers need to debug this).

That behavior in compliant with RFC2616 (Section 3.6) and RFC7230 (Section 3.3.1).

Assignee
Assign to
Icecast 2.5.0
Milestone
Icecast 2.5.0
Assign milestone
Time tracking
None
Due date
None
Reference: xiph/icecast-server#2088