Commit Briefs

Omar Polo

add a galileo.conf(5) man page


Omar Polo

add a galileo(8) man page


Omar Polo

add a README


Omar Polo

refactor proxy_read

- avoid the ugly `goto copy' to jump back to the start - avoid leaking memory


Omar Polo

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.




Omar Polo

free vars before assigning them

prevent a leaks if the server sends some parameter twice


Omar Polo

default PATH_INFO to "/" if empty


Omar Polo

inline images


Omar Polo

handle non-20 gemini response


Omar Polo

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.


Omar Polo

drop debug printf


Omar Polo

filter out empty lines


Omar Polo

improve gemtext -> html conversion