diff options
author | schmirl <schmirl> | 2009-02-13 07:02:18 +0000 |
---|---|---|
committer | schmirl <schmirl> | 2009-02-13 07:02:18 +0000 |
commit | c26b89f9c287d64915b94cc56fb0e4e709d235a4 (patch) | |
tree | 1a0557bf08659b725fbfebaac627d994d5b5e965 | |
parent | 37f2adf02bea2ce891c9175f6580aedef4390616 (diff) | |
download | vdr-plugin-streamdev-c26b89f9c287d64915b94cc56fb0e4e709d235a4.tar.gz vdr-plugin-streamdev-c26b89f9c287d64915b94cc56fb0e4e709d235a4.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 @@ VDR 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 3b41bf2..fc10bfc 100644 --- a/server/connectionHTTP.c +++ b/server/connectionHTTP.c @@ -1,5 +1,5 @@ /* - * $Id: connectionHTTP.c,v 1.15 2009/01/16 11:35:44 schmirl Exp $ + * $Id: connectionHTTP.c,v 1.16 2009/02/13 07:02:19 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 |