lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #10066] makefsdata: Support using the system's zlib


From: Jannis
Subject: [lwip-devel] [patch #10066] makefsdata: Support using the system's zlib instead of only minizip for deflate compression
Date: Wed, 12 May 2021 17:07:55 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0

URL:
  <https://savannah.nongnu.org/patch/?10066>

                 Summary: makefsdata: Support using the system's zlib instead
of only minizip for deflate compression
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: jannis
            Submitted on: Wed 12 May 2021 09:07:54 PM UTC
                Category: apps
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

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 :)



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 12 May 2021 09:07:54 PM UTC  Name:
0001-makefsdata-Support-using-the-system-s-zlib-instead-o.patch  Size: 6KiB  
By: jannis

<http://savannah.nongnu.org/patch/download.php?file_id=51428>

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/patch/?10066>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

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