<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xavi/libweb, branch master</title>
<subtitle>Small and lightweight web framework written in C99 and POSIX.1-2008.
</subtitle>
<id>https://gitea.privatedns.org/xavi/libweb/atom?h=master</id>
<link rel='self' href='https://gitea.privatedns.org/xavi/libweb/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/'/>
<updated>2026-10-07T21:19:55+00:00</updated>
<entry>
<title>Merge pull request 'configure: abide by TMPDIR if already set' (#1) from fukiame/libweb:pr/termux_compile into master</title>
<updated>2026-10-07T21:19:55+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavidcr@noreply.codeberg.org</email>
</author>
<published>2026-10-07T21:19:55+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=4df87f5e24c5efd3f5668c4073e0ce9de6da6bfc'/>
<id>urn:sha1:4df87f5e24c5efd3f5668c4073e0ce9de6da6bfc</id>
<content type='text'>
Reviewed-on: https://codeberg.org/xavidcr/libweb/pulls/1
Reviewed-by: Xavier Del Campo Romero &lt;xavidcr@noreply.codeberg.org&gt;
</content>
</entry>
<entry>
<title>configure: abide by TMPDIR if already set</title>
<updated>2026-10-03T16:18:22+00:00</updated>
<author>
<name>fukiame</name>
<email>fukiame@proton.me</email>
</author>
<published>2026-10-02T17:32:16+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=c55679a3b19eb796aff01808e74718520b19dd9a'/>
<id>urn:sha1:c55679a3b19eb796aff01808e74718520b19dd9a</id>
<content type='text'>
./configure: 71: cannot create /tmp/Makefile.slcl: Permission denied

Signed-off-by: fukiame &lt;fukiame@proton.me&gt;
</content>
</entry>
<entry>
<title>http.c: Do not return partial if no file is set</title>
<updated>2026-09-27T20:11:04+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi92@disroot.org</email>
</author>
<published>2026-09-27T20:11:04+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=284551675d7596c6de9edbf488701395823e1d3c'/>
<id>urn:sha1:284551675d7596c6de9edbf488701395823e1d3c</id>
<content type='text'>
Whereas libweb does support returning partial transfers [1], it only
does so limited to file transfers because it can be difficult or
impossible to perform a partial request for what can be otherwise
dynamically generated content.

Previously, libweb naively accepted any range request from the client
and silently replaced the response status to "206 Partial Content". [2]
However, if no FILE * had been specified by the application,
adjust_partial would treat this as a fatal error, because libweb assumed
this as a programming error by the application.

[1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Range_requests
[2]: https://en.wikipedia.org/wiki/HTTP_status#2xx_success
</content>
</entry>
<entry>
<title>Bump to dynstr v0.1.1</title>
<updated>2026-06-13T07:31:14+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi92@disroot.org</email>
</author>
<published>2026-06-13T07:31:14+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=e8e9b1b129bc9a324e9df4a98d971505a2739a85'/>
<id>urn:sha1:e8e9b1b129bc9a324e9df4a98d971505a2739a85</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add http_strcasecmp(3)</title>
<updated>2026-02-27T15:29:06+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi92@disroot.org</email>
</author>
<published>2026-02-27T14:28:17+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=6353beb60ceafbc743bde96684d666582195192f'/>
<id>urn:sha1:6353beb60ceafbc743bde96684d666582195192f</id>
<content type='text'>
POSIX.1-2008 does not any locale-specific version of strcasecmp(3), so
conversions to lowercase depend on the system locale.

Since HTTP header fields must be checked without case sensitivity and
not depend on the system locale, a specialised function that forces the
"POSIX" locale is required.
</content>
</entry>
<entry>
<title>Add http_strncasecmp(3)</title>
<updated>2026-02-27T15:28:52+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi92@disroot.org</email>
</author>
<published>2026-02-27T11:30:45+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=d783e794c2fa6a9e6bffff9f41cdb7e8033bf3c3'/>
<id>urn:sha1:d783e794c2fa6a9e6bffff9f41cdb7e8033bf3c3</id>
<content type='text'>
POSIX.1-2008 does not any locale-specific version of strncasecmp(3), so
conversions to lowercase depend on the system locale.

Since HTTP header fields must be checked without case sensitivity and
not depend on the system locale, a specialised function that forces the
"POSIX" locale is required.
</content>
</entry>
<entry>
<title>http.c: Ensure valid object on freelocale(3)</title>
<updated>2026-02-27T14:29:04+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi92@disroot.org</email>
</author>
<published>2026-02-27T10:52:43+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=fca0679e438e1cf8a3db9047f57d3b2363ab417e'/>
<id>urn:sha1:fca0679e438e1cf8a3db9047f57d3b2363ab417e</id>
<content type='text'>
According to POSIX.1-2008, the behaviour is undefined if freelocale(3)
is called with an invalid object. [1]

[1]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/freelocale.html
</content>
</entry>
<entry>
<title>http.c: Break on found header</title>
<updated>2026-02-27T10:51:12+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi92@disroot.org</email>
</author>
<published>2026-02-27T10:51:12+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=469410001bf283b658515391514d4c2077731d04'/>
<id>urn:sha1:469410001bf283b658515391514d4c2077731d04</id>
<content type='text'>
Once a given HTTP header from the list has been found, it makes no sense
to keep reading the rest from it.
</content>
</entry>
<entry>
<title>Replace Makefile with configure script</title>
<updated>2026-02-13T06:54:07+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi92@disroot.org</email>
</author>
<published>2026-02-12T16:58:06+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=62ee3ef1ca13872e1f9b07f6e4e53cea8b684d72'/>
<id>urn:sha1:62ee3ef1ca13872e1f9b07f6e4e53cea8b684d72</id>
<content type='text'>
Since libweb depends on dynstr, this dependency can be already available
on the system, and therefore the CFLAGS and LDFLAGS should be updated
according to pkg-config(1), rather than hardcoding them to the source
tree.
</content>
</entry>
<entry>
<title>http.c: Remove unused variable</title>
<updated>2026-02-12T16:59:49+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi92@disroot.org</email>
</author>
<published>2026-02-12T16:59:36+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=438fe10b069b355407cd42b244de5deb695f2338'/>
<id>urn:sha1:438fe10b069b355407cd42b244de5deb695f2338</id>
<content type='text'>
</content>
</entry>
</feed>
