mirror of
				https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
				synced 2023-10-10 17:16:51 +00:00 
			
		
		
		
	ignore trailing blank lines in HTTP requests
This commit is contained in:
		
							
								
								
									
										1
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								HISTORY
									
									
									
									
									
								
							@@ -1,6 +1,7 @@
 | 
				
			|||||||
VDR Plugin 'streamdev' Revision History
 | 
					VDR Plugin 'streamdev' Revision History
 | 
				
			||||||
---------------------------------------
 | 
					---------------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- ignore trailing blank lines in HTTP requests
 | 
				
			||||||
- fixed parsing Min/MaxPriority from config (thanks to Joachim K<>nig-Baltes)
 | 
					- fixed parsing Min/MaxPriority from config (thanks to Joachim K<>nig-Baltes)
 | 
				
			||||||
- updated Finnish translation (thanks to Rolf Ahrenberg)
 | 
					- updated Finnish translation (thanks to Rolf Ahrenberg)
 | 
				
			||||||
- added Min/MaxPriority parameters. Can be used to keep client VDR from
 | 
					- added Min/MaxPriority parameters. Can be used to keep client VDR from
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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>
 | 
					#include <ctype.h>
 | 
				
			||||||
@@ -63,6 +63,9 @@ bool cConnectionHTTP::Command(char *Cmd)
 | 
				
			|||||||
		Dprintf("header\n");
 | 
							Dprintf("header\n");
 | 
				
			||||||
		return true;
 | 
							return true;
 | 
				
			||||||
	default:
 | 
						default:
 | 
				
			||||||
 | 
							// skip additional blank lines
 | 
				
			||||||
 | 
							if (*Cmd == '\0')
 | 
				
			||||||
 | 
								return true;
 | 
				
			||||||
		break;
 | 
							break;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	return false; // ??? shouldn't happen
 | 
						return false; // ??? shouldn't happen
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user