xiph / opusfile

Stand-alone decoder library for .opus streams
BSD 3-Clause "New" or "Revised" License
154 stars 81 forks source link

HTTP pipelining is always disabled #22

Open Archie3d opened 3 years ago

Archie3d commented 3 years ago

I've noticed on http streams pipelining is always disabled and all the range request sent by the client are unconstrained:

Range: bytes 0-

I believe this is because the client never sends Connection: Keep-Alive in op_http_stream_open() along with the other headers. Once added, the pipelining seems to work and the client issues well constrained range requests.