Commit graph

16 commits

Author SHA1 Message Date
16f516d6ce feat: cosmopolitan libc support
Added support for cosmopolitan libc.
Simply do `make COSMO=yes` and you'll get feuille.com, a working
αcτµαlly pδrταblε εxεcµταblε pastebin server.

+ version bump.
2022-12-11 01:59:08 +01:00
63319d7525 fix(server.c): better dual-stack mode handling 2022-12-11 00:44:50 +01:00
3c356481e1 fix: remove useless newlines 2022-12-11 00:42:30 +01:00
fdd0d73e77 fix(server.c): add newline only if there isn't one already 2022-11-29 16:06:27 +01:00
8c30d271df feat: use paste size instead of NULL byte in order to write the paste
Previously, the pastes were written to disk until feuille encountered
a NULL byte. This is now fixed.

+ version bump.
2022-11-29 13:57:11 +01:00
9e011de4ab style(server.c): comment 2022-11-29 10:50:16 +01:00
43be904636 style: macros indentations (again) 2022-11-29 10:33:15 +01:00
46d7d4bff3 style(server.c): macros indentation 2022-11-29 10:30:57 +01:00
955c840ba4 fix(server.c): add <syslog.h> header 2022-11-28 20:37:48 +01:00
4867ff3468 chore: update headers 2022-11-28 20:36:41 +01:00
8780761486 style(server.c): minor fix 2022-11-28 20:31:09 +01:00
5d1cbba1c0 feat(server.c): add newline to pastes 2022-11-28 14:25:43 +01:00
be74fa43cc fix(server.c): remove debug printf 2022-11-23 10:07:11 +01:00
24da772e56 feat: dissociate timeouts and empty pastes
feuille was handling those two errors the same way, by sending
`Timeout'd.' even if the client just sent an EOF.
2022-11-23 10:07:11 +01:00
6a20fa7e61 doc(server.c): typo 2022-11-23 10:07:11 +01:00
8453d41a00 feat: First stable release 2022-11-21 10:43:22 +01:00