lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #45735] httpd_raw does not detect Content-Length heade


From: Michael Heimpold
Subject: [lwip-devel] [bug #45735] httpd_raw does not detect Content-Length header correctly
Date: Tue, 11 Aug 2015 20:02:05 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0

URL:
  <http://savannah.nongnu.org/bugs/?45735>

                 Summary: httpd_raw does not detect Content-Length header
correctly
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: mhei
            Submitted on: Di 11 Aug 2015 20:02:05 GMT
                Category: Contrib
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: git head

    _______________________________________________________

Details:

HTTP headers are case-insensitiv, so using strnstr to find the Content-Length
header fails with browsers which use other case variants that the one defined
in the code.

The attached patch tries to solve this problem. The patch is also available
at:
https://github.com/mhei/lwip-contrib/tree/httpd_strncasestr




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Di 11 Aug 2015 20:02:05 GMT  Name:
0001-httpd_raw-fix-detection-of-Content-Length-header.patch  Size: 4kB   By:
mhei

<http://savannah.nongnu.org/bugs/download.php?file_id=34627>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?45735>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.nongnu.org/




reply via email to

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