[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #9605] makefsdata: added options to skip and avoid c
From: |
Giuseppe Modugno |
Subject: |
[lwip-devel] [patch #9605] makefsdata: added options to skip and avoid compressing some extensions |
Date: |
Mon, 19 Mar 2018 09:07:36 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36 |
URL:
<http://savannah.nongnu.org/patch/?9605>
Summary: makefsdata: added options to skip and avoid
compressing some extensions
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: giusloq
Submitted on: Mon 19 Mar 2018 01:07:34 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:
Attached is a patch for makefsdata utility that adds two command line
options:
* -x: a comma separated list of extensions to exclude during processing (e.g.,
-x:json,txt)
* -xc: a comma separated list of extensions to not compress, if -defl option
is used (e.g., -xc:mp3)
I'm using the first option because I have some .json files that is dynamically
generated by lwip httpd server. However I have these files static in the www
folders to check with "normal" web server (simulating a fixed reply from the
server).
I'm using the second option for .mp3 files. I noticed Chrome requests the .mp3
file, but it doesn't like it compressed. So it requests again the file without
specifying it accepts compressed content.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 19 Mar 2018 01:07:34 PM UTC Name: patch.diff Size: 6KiB By:
giusloq
<http://savannah.nongnu.org/patch/download.php?file_id=43595>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?9605>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [patch #9605] makefsdata: added options to skip and avoid compressing some extensions,
Giuseppe Modugno <=