From f332f992aac3a049dff31d72aa2f1a21d2eec28e Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Sat, 25 Apr 2009 11:09:25 +0200 Subject: [PATCH] Document HTTP client quirks known to mt-daapd --- src/httpd.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/httpd.c b/src/httpd.c index 492559e3..8234efdf 100644 --- a/src/httpd.c +++ b/src/httpd.c @@ -43,6 +43,21 @@ #include "httpd_rsp.h" +/* + * HTTP client quirks by User-Agent, from mt-daapd + * + * - Roku: + * + Does not encode space as + in query string + * - iTunes: + * + Does not encode space as + in query string + * + Connection: Keep-Alive on HTTP error 401 + * - Hifidelio: + * + Connection: Keep-Alive for streaming (Connection: close not honoured) + * + * These quirks are not implemented. Implement as needed. + */ + + #define STREAM_CHUNK_SIZE (512 * 1024) #define WEBFACE_ROOT "/usr/share/mt-daapd/admin-root/"