Re: ICY or shoutcast protocol
Juliusz Chroboczek <[email protected]>
| Newsgroups | gmane.comp.web.polipo.user |
|---|---|
| Message-ID | <[email protected]> |
> The ICY protocol is used by some sites to stream mp3 audio. The server sends
> back the first Header line as:
>
> ICY 200 OK
Yep.
> Polipo will drop that header and tell the client that it is not
> a supported server version.
Which is the truth ;-)
> However, the ICY is not much different from HTTP. I find that just change
> the ICY to HTTP/1.1 and pass along the rest of the traffic.
Hmm, that's not the right solution. If you do that, Polipo might choose to
chunk the reply to the client, which is obviously incorrect for non-HTTP
protocols.
The proper way would be to make Polipo switch to tunnel mode whenever it
receives an unexpected header.
Not in 1.0.5, obviously, and I'll be grateful for a patch.
Juliusz
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/