Commits


simplify glob for pem


mention testing in readme


drop genbigfile


use a c program to fill the file it's several order of magnitude faster than the equivalent shell script


fix for sha256sum


fixing compat compilation include headers if needed and include config.h


missing ; in prototype


deleted old test stuff


brand new regress suite


use a helper to handle no-body replies


rename goodbye -> close_conn


trim initial forward slashes this parse gemini://example.com///foo into an IRI whose path is "foo". I'm not 100% this is standard-compliant but: 1. it seems a logical consequence of the URI/IRI cleaning algo (where we drop sequential slashes) 2. practically speaking serving file a sequence of forward slashes doesn't really make sense, even in the case of CGI scripts


add ends_with


fix redirects make sure redirect starts with /. This also requires a tweak in check_path, in the case we go open_file -> send_dir -> open_file -> check-path and the path starts with a slash.


ensure we're in the correct state