gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r27536 - libmicrohttpd/src/spdy2http


From: gnunet
Subject: [GNUnet-SVN] r27536 - libmicrohttpd/src/spdy2http
Date: Sat, 22 Jun 2013 20:39:04 +0200

Author: andreyu
Date: 2013-06-22 20:39:03 +0200 (Sat, 22 Jun 2013)
New Revision: 27536

Modified:
   libmicrohttpd/src/spdy2http/proxy.c
Log:
spdy2http: TE header was sent over SPDY

Modified: libmicrohttpd/src/spdy2http/proxy.c
===================================================================
--- libmicrohttpd/src/spdy2http/proxy.c 2013-06-22 00:45:34 UTC (rev 27535)
+++ libmicrohttpd/src/spdy2http/proxy.c 2013-06-22 18:39:03 UTC (rev 27536)
@@ -418,7 +418,9 @@
        if(NULL == (name = strndup(line, i - pos)))
         DIE("No memory");
        if(0 == strcmp(SPDY_HTTP_HEADER_CONNECTION, name)
-               || 0 == strcmp(SPDY_HTTP_HEADER_KEEP_ALIVE, name))
+               || 0 == strcmp(SPDY_HTTP_HEADER_KEEP_ALIVE, name)
+               || 0 == strcmp(SPDY_HTTP_HEADER_TRANSFER_ENCODING, name)
+    )
        {
                //forbidden in spdy, ignore
                free(name);
@@ -858,6 +860,7 @@
   );
 }
 
+
 int
 main (int argc, char *const *argv)
 {      




reply via email to

[Prev in Thread] Current Thread [Next in Thread]