diff options
author | schmirl <schmirl> | 2009-02-13 07:02:25 +0000 |
---|---|---|
committer | schmirl <schmirl> | 2009-02-13 07:02:25 +0000 |
commit | c000d1d50bdb5c4abc66319c3b1536d9d598cc05 (patch) | |
tree | c9ce31f2fbfa4a64b3d3e764d7f5beb13e1bd892 | |
parent | 64ac6278bf8969d47470f7a1ce0d4d20cdf5b2a1 (diff) | |
download | vdr-plugin-streamdev-c000d1d50bdb5c4abc66319c3b1536d9d598cc05.tar.gz vdr-plugin-streamdev-c000d1d50bdb5c4abc66319c3b1536d9d598cc05.tar.bz2 |
ignore trailing blank lines in HTTP requests
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | server/connectionHTTP.c | 5 |
2 files changed, 5 insertions, 1 deletions
@@ -1,6 +1,7 @@ eDR Plugin 'streamdev' Revision History --------------------------------------- +- ignore trailing blank lines in HTTP requests - fixed parsing Min/MaxPriority from config (thanks to Joachim König-Baltes) - updated Finnish translation (thanks to Rolf Ahrenberg) - added Min/MaxPriority parameters. Can be used to keep client VDR from diff --git a/server/connectionHTTP.c b/server/connectionHTTP.c index 3263c52..fb275ff 100644 --- a/server/connectionHTTP.c +++ b/server/connectionHTTP.c @@ -1,5 +1,5 @@ /* - * $Id: connectionHTTP.c,v 1.13.2.1 2008/10/14 11:05:59 schmirl Exp $ + * $Id: connectionHTTP.c,v 1.13.2.2 2009/02/13 07:02:26 schmirl Exp $ */ #include <ctype.h> @@ -63,6 +63,9 @@ bool cConnectionHTTP::Command(char *Cmd) Dprintf("header\n"); return true; default: + // skip additional blank lines + if (*Cmd == '\0') + return true; break; } return false; // ??? shouldn't happen |