<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xavi/libweb/examples, branch v0.4.1</title>
<subtitle>Small and lightweight web framework written in C99 and POSIX.1-2008.
</subtitle>
<id>https://gitea.privatedns.org/xavi/libweb/atom?h=v0.4.1</id>
<link rel='self' href='https://gitea.privatedns.org/xavi/libweb/atom?h=v0.4.1'/>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/'/>
<updated>2024-08-22T00:27:34+00:00</updated>
<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>headers/main.c: Update to new handler interface</title>
<updated>2023-11-20T16:05:21+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-11-20T16:05:21+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=bc1d77983acd0e5160071fb724fef90ac0f9ca37'/>
<id>urn:sha1:bc1d77983acd0e5160071fb724fef90ac0f9ca37</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add PUT server example</title>
<updated>2023-11-20T15:34:24+00:00</updated>
<author>
<name>Xavier Del Campo</name>
<email>xavier.delcampo@midokura.com</email>
</author>
<published>2023-11-17T15:34:45+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=dc8b14d99028b9235aa7d7633906a979aa08e4f9'/>
<id>urn:sha1:dc8b14d99028b9235aa7d7633906a979aa08e4f9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>examples/hello: Update according to handler_loop</title>
<updated>2023-11-20T15:06:20+00:00</updated>
<author>
<name>Xavier Del Campo</name>
<email>xavier.delcampo@midokura.com</email>
</author>
<published>2023-11-16T11:57:27+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=c9edbbc4b04ba03c3fc2c1dc7768fdfecd04fec3'/>
<id>urn:sha1:c9edbbc4b04ba03c3fc2c1dc7768fdfecd04fec3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Send HTTP headers to payload callback</title>
<updated>2023-11-18T00:03:12+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-11-17T23:56:04+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=65031ca3502e0c27780be847fd97c112546741a9'/>
<id>urn:sha1:65031ca3502e0c27780be847fd97c112546741a9</id>
<content type='text'>
Even if libweb already parses some common headers, such as
Content-Length, some users might find it interesting to inspect which
headers were received from a request.

Since HTTP/1.1 does not define a limit on the number of maximum headers
a client can send, for security reasons a maximum value must be provided
by the user. Any extra headers shall be then discarded by libweb.

An example application showing this new feature is also provided.
</content>
</entry>
<entry>
<title>examples: Fix wrong library name</title>
<updated>2023-10-25T12:10:52+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-10-25T12:06:39+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=c6083ca2234b7bd19df62a20eb2549385ffdb382'/>
<id>urn:sha1:c6083ca2234b7bd19df62a20eb2549385ffdb382</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename project from slweb to libweb</title>
<updated>2023-10-10T22:07:13+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-10-10T21:21:35+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=0222b75e8554796548e079aa3393c512ae30ac24'/>
<id>urn:sha1:0222b75e8554796548e079aa3393c512ae30ac24</id>
<content type='text'>
It was found out there was another project of the same name around
(https://git.sr.ht/~strahinja/slweb/), also related to website
generation.

In order to avoid confusion, a new name has been chosen for this
project. Surprisingly, libweb was not in use by any distributions
(according to https://repology.org and AUR index), and it should
reflect well the intention behind this project i.e., being a library
to build web-related stuff.
</content>
</entry>
<entry>
<title>examples/Makefile: Add html example</title>
<updated>2023-09-24T22:18:41+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-09-24T22:18:41+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=d9dbad1bc63e0b2442ff81f8e839391a7e27c583'/>
<id>urn:sha1:d9dbad1bc63e0b2442ff81f8e839391a7e27c583</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add HTML serializer example</title>
<updated>2023-09-15T12:58:37+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-09-15T12:58:37+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=70670e129ef09acfb28be013d06f2773b5a7d04d'/>
<id>urn:sha1:70670e129ef09acfb28be013d06f2773b5a7d04d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hello/main.c: Add missing length callback</title>
<updated>2023-09-07T11:45:10+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-09-07T11:43:48+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=11df321edaae2e0eae9603ea333cc19535b9eab6'/>
<id>urn:sha1:11df321edaae2e0eae9603ea333cc19535b9eab6</id>
<content type='text'>
Even if the feature is unsupported by the application, slweb requires
`length` to be a valid function pointer.
</content>
</entry>
</feed>
