[svn-commits] rmudgett: branch rmudgett/http_persistent r417189 - /team/rmudgett/http_persi...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jun 24 12:30:09 CDT 2014


Author: rmudgett
Date: Tue Jun 24 12:30:03 2014
New Revision: 417189

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=417189
Log:
Don't check EOF there.

Modified:
    team/rmudgett/http_persistent/main/http.c

Modified: team/rmudgett/http_persistent/main/http.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/http_persistent/main/http.c?view=diff&rev=417189&r1=417188&r2=417189
==============================================================================
--- team/rmudgett/http_persistent/main/http.c (original)
+++ team/rmudgett/http_persistent/main/http.c Tue Jun 24 12:30:03 2014
@@ -956,7 +956,7 @@
 	 * to the passed in headers list rather than discarding them.
 	 */
 	for (;;) {
-		if (!fgets(header_line, sizeof(header_line), ser->f) || feof(ser->f)) {
+		if (!fgets(header_line, sizeof(header_line), ser->f)) {
 			ast_log(LOG_WARNING,
 				"Short HTTP read of chunked trailer header\n");
 			errno = EIO;




More information about the svn-commits mailing list