lwIP - A Lightweight TCP/IP stack - Bugs: bug #50915, non-SSI files corruption with...
You are not allowed to post comments on this tracker with your current authentication level.
bug #50915: non-SSI files corruption with LWIP_HTTPD_DYNAMIC_FILE_READ = 1
Submitter: | Dmitry <gdi> | ||
Submitted: | Tue 02 May 2017 12:45:16 PM UTC | ||
Category: | apps | Severity: | 3 - Normal |
Item Group: | Faulty Behaviour | Status: | Fixed |
Privacy: | Public | Assigned to: | goldsimon |
Open/Closed: | Closed | Planned Release: | None |
lwIP version: | git head |
Wed 03 May 2017 08:05:23 AM UTC, comment #4: |
Dmitry <gdi> |
Wed 03 May 2017 07:57:27 AM UTC, comment #3: Alright, thanks for the hint. HTTP_IS_DATA_VOLATILE() was wrong if SSI is enabled. Should be fixed now. |
Simon Goldschmidt <goldsimon> |
Wed 03 May 2017 07:34:50 AM UTC, comment #2: HTTP_IS_DATA_VOLATILE() isn't set specially. So it has default value in httpd.c:
|
Dmitry <gdi> |
Tue 02 May 2017 06:56:29 PM UTC, comment #1: That should not be a problem since data read from an external file system must be copied (a 2nd time) by tcp anyway, since the single read buffer in httpd cannot guarantee to hold the data until it is ACKed - this would limit the tcp window to the read buffer size...
|
Simon Goldschmidt <goldsimon> |
Tue 02 May 2017 12:45:16 PM UTC, original submission:
non-SSI files are corrupting with LWIP_HTTPD_DYNAMIC_FILE_READ = 1 in httpserver_raw example. See the files in attachment where pure.css is an original file and pure-corrupted.css is the file which was received in browser.
|
Dmitry <gdi> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 6 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2017-05-03 | goldsimon | Status | Works For Me | Fixed | |
Assigned to | None | goldsimon | |||
Open/Closed | Open | Closed | |||
2017-05-02 | goldsimon | Status | None | Works For Me | |
2017-05-02 | gdi | Attached File | - | Added pure.css, #40557 | |
Attached File | - | Added pure-corrupted.css, #40558 |
Powered by Savane 3.13-caa5.
Corresponding source code
I've updated from git and it works good now, thanks.