patchlwIP - A Lightweight TCP/IP stack - Patches: patch #10066, makefsdata: Support using the...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #10066: makefsdata: Support using the system's zlib instead of only minizip for deflate compression

Submitter:  Jannis <jannis>
Submitted:  Wed 12 May 2021 09:07:54 PM UTC
   
 
Category:  apps Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  goldsimon Open/Closed:  Closed
Planned Release:  None

Fri 21 May 2021 08:33:27 PM UTC, comment #1: 

Pushed, thanks for the patch!

Simon Goldschmidt <goldsimon>
Group administrator
Wed 12 May 2021 09:07:54 PM UTC, original submission:  

Background: I am using lwip's awesome http server on a Raspberry Pi Pico board that has "only" 2MByte of flash memory. In order to save space and since I know that HTML, JS, CSS and SVG files compress very well, I thought of adding this feature ti makefsdata.c. I investigated a bit and settled on brotli compression. When it was finished (master...kripton:brotli), I found out that basically all browser only support brotli on https connections. However, I was delighted that makefadata already supports deflate compression. Unfortunately, the file minizip.c needs to be manually downloaded and put into the source folder. To avoid this, I extended it to use the system's zlib instead, which is usually already present on most GNU/Linux systems.

I created a pull request on GitHub (https://github.com/lwip-tcpip/lwip/pull/1) but was asked to rather submit a patch here. Done with this submission :)

Jannis <jannis>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by jannis (Submitted the item)
  •  

    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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-05-21 goldsimon StatusNone Done
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2021-05-12 jannis Attached File- Added 0001-makefsdata-Support-using-the-system-s-zlib-instead-o.patch, #51428

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code