Commit Briefs

Omar Polo

deleted old test stuff


Omar Polo

brand new regress suite



Omar Polo

rename goodbye -> close_conn


Omar Polo

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


Omar Polo

add ends_with


Omar Polo

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.


Omar Polo

ensure we're in the correct state


Omar Polo

sync changes



Omar Polo

const-ify parameter to strtonum


Omar Polo

use recallocarray

it also does an overflow check on multiplication, other than being more readable.


Omar Polo

use strtonum


Omar Polo

more OpenBSD goodies