mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
ignore trailing blank lines in HTTP requests
This commit is contained in:
parent
64ac6278bf
commit
c000d1d50b
1
HISTORY
1
HISTORY
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user