[tor-commits] [ooni-probe/master] [bugfix] Critical bug that	sometimes lead to incorrect body content
    art at torproject.org 
    art at torproject.org
       
    Fri Apr 29 09:42:26 UTC 2016
    
    
  
commit 0bfb58cd9d2647e6defa3bcdf0dbd7a9e2e16189
Author: Arturo Filastò <arturo at filasto.net>
Date:   Thu Apr 14 22:44:47 2016 +0200
    [bugfix] Critical bug that sometimes lead to incorrect body content
---
 ooni/utils/trueheaders.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ooni/utils/trueheaders.py b/ooni/utils/trueheaders.py
index b7671b5..d5aa206 100644
--- a/ooni/utils/trueheaders.py
+++ b/ooni/utils/trueheaders.py
@@ -103,7 +103,7 @@ class HTTPClientParser(_newclient.HTTPClientParser):
         self._partialHeader = None
 
     def headerReceived(self, name, value):
-        if self.isConnectionControlHeader(name):
+        if self.isConnectionControlHeader(name.lower()):
             headers = self.connHeaders
         else:
             headers = self.headers
    
    
More information about the tor-commits
mailing list