Gmnxd

Timeline
Login

Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2026-09-03
20:52
Properly handle the special characters in the case we are inside a verbatim block. ... (leaf check-in: 8198dc0659 user: absc tags: trunk)
20:18
Do not segfault on empty link lines. ... (check-in: c996136923 user: absc tags: trunk)
2026-09-02
20:54
Fix an off-by-one when the resource path is '/'. Shouldn't happen given the gemini protocol, but better put a check there. ... (check-in: 8b5e646418 user: absc tags: trunk)
2026-09-01
12:31
Remove dead check. ... (check-in: 28f114d903 user: absc tags: trunk)
12:28
it's an edge case, but EINTR *could* happen while reading stdin. Handle it during the loop. ... (check-in: c686393dc6 user: absc tags: trunk)
12:17
Now if someone changes the size of URLLEN, the room for LLEN is kept. ... (check-in: 8a28c46782 user: absc tags: trunk)
12:04
Even if not needed, good hygiene makes us close the file stream. ... (check-in: 528db2a0c5 user: absc tags: trunk)
11:58
No need to always hav ea 1MB stack buffer when it is only needed on success. ... (check-in: f16c7321e6 user: absc tags: trunk)
11:43
Added missing default case, when the server encounter unknown issues, particularly with lstat. ... (check-in: 1d276cdbcd user: absc tags: trunk)
11:36
Avoid potential issues with symlinks and relative paths when passing the data directory through the -d flag. ... (check-in: 450278d10c user: absc tags: trunk)
11:17
Properly check if an I/O error happened in order to avoid sending a double header in a response. ... (check-in: 576834aed8 user: absc tags: trunk)
10:56
Explicitly check if the characters in input are hex. Later, set a byte to the NULL terminator, to avoid strtol going past the array range. ... (check-in: 1ce8d408f0 user: absc tags: trunk)
2024-10-25
20:48
Use some semantic elements in the html output. ... (check-in: 220e54fb1a user: absc tags: trunk)
2024-10-23
19:37
Distinguish between links and images. ... (check-in: 5c3f081ad1 user: absc tags: trunk)
19:35
Assign a class to the various div tags. ... (check-in: e18b7b6cc7 user: absc tags: trunk)
2024-10-22
20:06
Put the various elements inside div tags. ... (check-in: ae78f50d39 user: absc tags: trunk)
2024-06-29
23:31
Completely close filesystem access if we read only from stdin. ... (check-in: e6e769550a user: absc tags: trunk)
2024-04-14
20:05
Increase the output buffer size. ... (check-in: 4997f609c0 user: absc tags: trunk)
2024-02-23
18:44
Add some code comments. ... (check-in: cdc255b086 user: absc tags: trunk)
18:14
We return a non-modifiable object. ... (check-in: 86f44823ef user: absc tags: trunk)
18:13
Remove unused variable. ... (check-in: fec9643a2e user: absc tags: trunk)
18:06
Better to declare unit-related delcarations as static. ... (check-in: aaf9b4c1d2 user: absc tags: trunk)
2024-02-16
22:55
Properly return on error. Use a variable for that. Stolen from doas. ... (check-in: b2b905db63 user: absc tags: trunk)
22:49
Exit if we encounter an error. ... (check-in: 0b8ed090d1 user: absc tags: trunk)
22:36
Upgrade Copyright notice. ... (check-in: 624520a4af user: absc tags: trunk)
22:34
No need to use realpath(3) for the docroot. ... (check-in: ab2990ba61 user: absc tags: trunk)
22:23
We want to return only regular files. ... (check-in: c67434f2b5 user: absc tags: trunk)
22:20
We can just use strcat. The buffer is big enough for it, as we also sanitize the request length during the input phase. ... (check-in: 95083fb632 user: absc tags: trunk)
22:07
No need to add an additional '/'. ... (check-in: 07739f94e6 user: absc tags: trunk)
21:43
We do the request termination early. No need to check again. ... (check-in: 2082d8c868 user: absc tags: trunk)
21:38
No need to double check for ferror. ... (check-in: b49108c885 user: absc tags: trunk)
16:34
Remove break, It was there when we were using the switch. ... (check-in: 5751bc9bd0 user: absc tags: trunk)
16:16
Protect against one-bytes requests. While there, make the read loop more clear. ... (check-in: 96330aa3e6 user: absc tags: trunk)
07:01
Check for r > 0. Forgot in the previous commit. ... (check-in: 2ac9d2f50d user: absc tags: trunk)
2024-02-15
22:55
fread(3) blocks with inetd. Of course it does, the pipe remains open. ... (check-in: 2a25ee18ef user: absc tags: trunk)
21:40
Simplify the parsing code, get ride of the remaining memory allocations. ... (check-in: 9f32bcbb85 user: absc tags: trunk)
19:20
Get rid of getline and allocate the line buffer on the stack. ... (check-in: e380ee9877 user: absc tags: trunk)
18:47
Remove the memory allocation if a path different than the default is used. ... (check-in: 398ea189b7 user: absc tags: trunk)
2024-01-24
21:25
Make the mt variable a const pointer. ... (check-in: 1c63e42870 user: absc tags: trunk)
21:24
Make the docroot const. ... (check-in: 23760101c8 user: absc tags: trunk)
21:16
No need to be too anal with newlines/ ... (check-in: 0157d253f2 user: absc tags: trunk)
21:05
Properly check for -1. ... (check-in: c538459c51 user: absc tags: trunk)
2024-01-15
22:27
Corrected some MISRA violations. ... (check-in: 2414f6685c user: absc tags: trunk)
2024-01-09
22:34
Properly add paragraphs to the blockquote. ... (check-in: 2d748c0018 user: absc tags: trunk)
22:27
Output a single blockquote for all the lines. ... (check-in: 0982ee3f14 user: absc tags: trunk)
22:08
Fix the repeating of the first character in a code block. It's a bit ugly, but it works. Probably the parser need some love. ... (check-in: 0681eb8a8b user: absc tags: trunk)
2023-08-23
17:30
Use the empty string if the alt text is null. ... (check-in: 3fd45033c9 user: absc tags: trunk)
17:24
Correct the alt text attribute. ... (check-in: b124db6948 user: absc tags: trunk)
2023-08-10
11:30
Add missing newline to output. ... (check-in: 0f8306320b user: absc tags: trunk)
11:17
Corrected the lang placement. ... (check-in: 0c58feb292 user: absc tags: trunk)