<feed xmlns='http://www.w3.org/2005/Atom'>
<title>unit.git, branch alx-gzip-v37</title>
<subtitle>Universal Web Application Server</subtitle>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/'/>
<entry>
<title>HTTP: compress: gzip: calculating wbits and memlevel dynamically.</title>
<updated>2023-10-25T11:38:57+00:00</updated>
<author>
<name>Alejandro Colomar</name>
<email>alx@nginx.com</email>
</author>
<published>2023-09-05T01:16:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=5a4e673259b22418dfeb929a1e39ee40427cdd6e'/>
<id>5a4e673259b22418dfeb929a1e39ee40427cdd6e</id>
<content type='text'>
When the content length is small, optimize zlib for low memory usage.
Conversely, when the content length is large, use a similar amount of
memory within zlib, as it will improve compression, and won't hurt
significantly.

Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the content length is small, optimize zlib for low memory usage.
Conversely, when the content length is large, use a similar amount of
memory within zlib, as it will improve compression, and won't hurt
significantly.

Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Libunit: added bit functions.</title>
<updated>2023-10-25T11:38:53+00:00</updated>
<author>
<name>Alejandro Colomar</name>
<email>alx@nginx.com</email>
</author>
<published>2023-09-05T00:58:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=0313eff061f52648f58bea4ec4d40b5255c59226'/>
<id>0313eff061f52648f58bea4ec4d40b5255c59226</id>
<content type='text'>
These are based on C23's &lt;stdbit.h&gt;.

Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are based on C23's &lt;stdbit.h&gt;.

Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HTTP: compress: checking $header_accept_encoding.</title>
<updated>2023-10-25T11:38:49+00:00</updated>
<author>
<name>Alejandro Colomar</name>
<email>alx@nginx.com</email>
</author>
<published>2023-08-31T23:41:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=c2788b8a2abe4f18472a419c439532c23b53aa24'/>
<id>c2788b8a2abe4f18472a419c439532c23b53aa24</id>
<content type='text'>
Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HTTP: compress: added "mime_types" rule.</title>
<updated>2023-10-25T11:38:46+00:00</updated>
<author>
<name>Alejandro Colomar</name>
<email>alx@nginx.com</email>
</author>
<published>2023-08-28T15:34:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=75e9535a250eb5c9d16a16633033786fde125758'/>
<id>75e9535a250eb5c9d16a16633033786fde125758</id>
<content type='text'>
Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HTTP: compress: added configurable threshold for Content-Length.</title>
<updated>2023-10-25T11:38:42+00:00</updated>
<author>
<name>Alejandro Colomar</name>
<email>alx@nginx.com</email>
</author>
<published>2023-08-24T12:09:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=d5906fc0a30d51bbd25f0b7026fba977962e6042'/>
<id>d5906fc0a30d51bbd25f0b7026fba977962e6042</id>
<content type='text'>
With this, short responses, that is, responses with a body of up to
content_length_threshold bytes, won't be compressed.  The default value
is 20, as in NGINX.

Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With this, short responses, that is, responses with a body of up to
content_length_threshold bytes, won't be compressed.  The default value
is 20, as in NGINX.

Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>String: added strto[u]l(3) variants for nxt_str_t.</title>
<updated>2023-10-25T11:38:39+00:00</updated>
<author>
<name>Alejandro Colomar</name>
<email>alx@nginx.com</email>
</author>
<published>2023-08-23T23:12:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=e357f665abad29dfdf94103d0ad82774d2ec3d14'/>
<id>e357f665abad29dfdf94103d0ad82774d2ec3d14</id>
<content type='text'>
They're really more inspired in the API of BSD's strto[iu](3), but use
long just to keep it simple, instead of intmax_t, and since they wrap
strtol(3), I called them like it.

Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They're really more inspired in the API of BSD's strto[iu](3), but use
long just to keep it simple, instead of intmax_t, and since they wrap
strtol(3), I called them like it.

Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Auto: zlib: added --no-zlib.</title>
<updated>2023-10-25T11:38:32+00:00</updated>
<author>
<name>Alejandro Colomar</name>
<email>alx@nginx.com</email>
</author>
<published>2023-07-21T11:58:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=3630425f826c7334592c7d1f2527082cfe43f79d'/>
<id>3630425f826c7334592c7d1f2527082cfe43f79d</id>
<content type='text'>
Related to:

    HTTP: compress: gzip

Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Related to:

    HTTP: compress: gzip

Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HTTP: compress: added configurable "level" of compression.</title>
<updated>2023-10-25T11:38:08+00:00</updated>
<author>
<name>Alejandro Colomar</name>
<email>alx@nginx.com</email>
</author>
<published>2023-08-23T15:23:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=0569065aa583470b8dd2689f2aae53f57b74fe46'/>
<id>0569065aa583470b8dd2689f2aae53f57b74fe46</id>
<content type='text'>
Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HTTP: compress: added "encoding": "gzip".</title>
<updated>2023-10-25T11:38:04+00:00</updated>
<author>
<name>Alejandro Colomar</name>
<email>alx@nginx.com</email>
</author>
<published>2023-07-19T12:22:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=d05e2ab887602bb3f3f3020ba14f247f1dd18bef'/>
<id>d05e2ab887602bb3f3f3020ba14f247f1dd18bef</id>
<content type='text'>
Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Auto: zlib: compiling with zlib.</title>
<updated>2023-10-25T11:38:01+00:00</updated>
<author>
<name>Alejandro Colomar</name>
<email>alx@nginx.com</email>
</author>
<published>2023-07-21T11:58:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=2549de1f5ff81653d5176fe20ebb3814c64d103f'/>
<id>2549de1f5ff81653d5176fe20ebb3814c64d103f</id>
<content type='text'>
Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alejandro Colomar &lt;alx@nginx.com&gt;
Signed-off-by: Alejandro Colomar &lt;alx@kernel.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
