A simple http server supporting GET requests. Written in less than 400 lines of C.
Log | Files | Refs | README | LICENSE

DateCommit messageAuthorFiles+-
2022-03-12 11:45Changed instructions in the README file.Anton Kling1+1-1
2022-03-06 17:33Fixed README formatting.Anton Kling1+1-0
2022-03-05 12:29Only FreeBSD and Linux have sendfile(2)Anton Kling1+13-1
2022-03-05 12:15SerenityOS defines __serenity__ not __SerenityOS__Anton Kling1+2-2
2022-03-04 21:01Make sure to make the installed binary a setuid binary.Anton Kling1+1-1
2022-03-04 20:52Move certain settings into config.h. This makes it easier to pull newly updated code from a git repo while keeping personal changes seperatly in config.h.Anton Kling3+19-14
2022-03-04 20:46Include sys/time.h.Anton Kling1+1-0
2022-03-04 20:41BUG FIX: smol_http fails to parse certain file extension should their be two.Anton Kling1+11-2
2022-03-03 16:44Make sure to check the return value of the fstat call.Anton Kling1+2-2
2022-03-02 20:08Now using sendfile(2) for sending files over the socket.Anton Kling1+5-5
2022-02-20 14:29Remove preivous copyright statement.Anton Kling1+0-9
2022-02-04 15:24BUG FIX: Reap all child processes that exit. This was previously not done which caused multiple zombie processes to be created.Anton Kling1+4-0
2022-02-02 14:57Changed formatting again.Anton Kling1+302-314
2022-02-02 11:16Added a timeout check to ensure that recv/send do not take too long. Previously this lead resources being hogged as the forked children could live forever.Anton Kling1+14-0
2022-02-01 22:28Deleted AGPL and added Zero Clause BSD License.Anton Kling2+12-661
2022-02-01 22:27Fixed spelling mistakes.Anton Kling1+7-7
2022-02-01 22:24LICENSE: Changed from AGPL over to Zero Clause BSD License.Anton Kling2+18-27
2022-01-15 18:53Formatted code using clang-format.Anton Kling1+145-136
2022-01-02 22:20Removed declaration of chroot.Anton Kling1+0-2
2022-01-01 13:27Added -d option to the -h usage printAnton Kling1+2-2
2022-01-01 13:21Remove usage of "sudo" in Makefile as all systems may not have it.Anton Kling1+2-2
2022-01-01 13:19Updated README to include "make install"Anton Kling1+1-0
2022-01-01 13:15Added support for "make install" to the Makefile. It will install smol_http to /usr/bin with permissions 755Anton Kling1+5-0
2021-12-28 21:41"Fixed" the order of '==' checks.Anton Kling1+3-3
2021-12-24 16:05Do not create a new PATH_MAX and just use the current value should it be defined.Anton Kling1+4-6
2021-12-24 00:09Added some bragging about line count.Anton Kling1+2-1
2021-12-23 23:12Changed output file and code file to smol_http* instead of http*.Anton Kling2+2-3
2021-12-23 23:08small mistakesAnton Kling2+10-7
2021-12-23 23:06first commitAnton Kling4+1107-0