<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xavi/libweb/doc/man3, 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-02-27T15:29:06+00:00</updated>
<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>Add optional expiration date to http_cookie_create</title>
<updated>2026-02-12T15:10:37+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi92@disroot.org</email>
</author>
<published>2026-02-12T14:55:13+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=1b2a52d214d92f543c9e0651f56c3292b23655a5'/>
<id>urn:sha1:1b2a52d214d92f543c9e0651f56c3292b23655a5</id>
<content type='text'>
So far, libweb had been arbitrarily appending a 1-year expiration date
to all HTTP cookies. While good enough for some contexts, libweb should
allow users to set up their own, if any, so this arbitary decision has
been eventually removed.
</content>
</entry>
<entry>
<title>Add man3 pages for the form API</title>
<updated>2025-10-09T09:28:59+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi92@disroot.org</email>
</author>
<published>2025-10-09T09:18:03+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=de7f4b2ffcd92dfeada9235ce857b801a4851da7'/>
<id>urn:sha1:de7f4b2ffcd92dfeada9235ce857b801a4851da7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>html: Make html_encode public</title>
<updated>2025-09-27T22:12:57+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi92@disroot.org</email>
</author>
<published>2025-09-27T18:48:55+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=94ddbec88e57fe742f219a30145650165887f22c'/>
<id>urn:sha1:94ddbec88e57fe742f219a30145650165887f22c</id>
<content type='text'>
Among other reasons, this function can be useful to sanitize
user-generated content before assigning it do a node.
</content>
</entry>
<entry>
<title>Bump version to 0.4.0</title>
<updated>2024-08-22T00:27:35+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2024-08-22T00:04:29+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=93571556ee97e1a3e1829f8bc708d1d63f188840'/>
<id>urn:sha1:93571556ee97e1a3e1829f8bc708d1d63f188840</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move signal handling to processes</title>
<updated>2024-08-22T00:27:34+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2024-08-19T22:07:05+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=43e89fb23943b5ffb6854f290592c29cd079bf46'/>
<id>urn:sha1:43e89fb23943b5ffb6854f290592c29cd079bf46</id>
<content type='text'>
So far, libweb installed a signal handler so as to handle SIGTERM,
SIGPIPE and SIGINT signals so that processes would not have to care
about such details.

However, it is not advisable for libraries to install signal handlers,
as signals are handled on a per-process basis. The previous approach
would be incompatible if several instances of the library were allocated
by the same process.

Unfortunately, this has the undesired side effect of adding the
boilerplate code into the process.
</content>
</entry>
<entry>
<title>Bump version to 0.3.0</title>
<updated>2024-02-19T22:33:27+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2024-02-19T22:29:01+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=b4930f72bb9026c5a0871f4fa4cabe20cb0e6a9f'/>
<id>urn:sha1:b4930f72bb9026c5a0871f4fa4cabe20cb0e6a9f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bump version to 0.2.0</title>
<updated>2024-02-12T22:12:43+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2024-02-12T20:21:57+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=6ceae16a20175edb77fb2ffab0d3d6648d011221'/>
<id>urn:sha1:6ceae16a20175edb77fb2ffab0d3d6648d011221</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update copyright notices to 2024</title>
<updated>2024-02-12T21:45:17+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2024-02-12T21:16:35+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=fcba916011f8fe21e60df1e0302371fc3956126f'/>
<id>urn:sha1:fcba916011f8fe21e60df1e0302371fc3956126f</id>
<content type='text'>
</content>
</entry>
</feed>
