Commits
- Commit:
b8dcf4d9df2ea60f0de42ba45fe7b6ef37054440
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add a galileo.conf(5) man page
- Commit:
20c7248e890559e1f5e3b9c409ac7bd3bcea76e3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add a galileo(8) man page
- Commit:
63a1ddbc141f6c8f9ef84aeef0ddcf1c49891d57
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add a README
- Commit:
1337dc2bc98a9a6d161b79058055acf7f2670c07
- From:
- Omar Polo <op@omarpolo.com>
- Date:
refactor proxy_read
- avoid the ugly `goto copy' to jump back to the start
- avoid leaking memory
- Commit:
6edd9a00dba749f4c342824a9cf42d5c48dd3d52
- From:
- Omar Polo <op@omarpolo.com>
- Date:
parse response MIME, check the charset and lang
If the charset is not UTF-8 nor ASCII then we don't know how to handle
the body and so rejects it. An abset charset is implied to be utf8,
so we're good.
In the generated HTML we always use UTF8 charset, which is fine too,
since it is a superset of ASCII.
Attempt also at saving the lang for later reuse in the generated HTML.
- Commit:
8fa3006a8eeb771690ed7e1e452b6b5cd0e064bf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
include a footer with the original URL
- Commit:
1296d9c0d7b4c0ba87e1881b77ae34b576ba572d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
make sure PATH_INFO always start with a '/'
- Commit:
c5d5d231399df478b6d2d42ca6fde072abf57009
- From:
- Omar Polo <op@omarpolo.com>
- Date:
free vars before assigning them
prevent a leaks if the server sends some parameter twice
- Commit:
2944b5788d975ee467b544fc8c566c50e6948022
- From:
- Omar Polo <op@omarpolo.com>
- Date:
default PATH_INFO to "/" if empty
- Commit:
33f4bf26d1b76c691875b3ced0aa267928a0a2f6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
inline images
- Commit:
6e8f426eff55c3ebcd1977185da46975fac2d1ad
- From:
- Omar Polo <op@omarpolo.com>
- Date:
handle non-20 gemini response
- Commit:
247917be455490fb432d14a7cca37419333b7d3f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
close fcgi socket when not marked as keepalive
if the server hasn't specified the FCGI_KEEP_CONN bit in the request,
close the socket when we're done. This seems to be what httpd(8)
(most of the time) wants.
- Commit:
4e2df59f1ce054617cd1ec17582b64f49596684c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop debug printf
- Commit:
df5279ca412c6f286f39312c3a2b40295a609ee8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
filter out empty lines
- Commit:
b9de0a740a8a4a0c10be051e1f948c6eba7d9c4c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
improve gemtext -> html conversion