Commits


move struct iri and parser at the top of the file


retire the old gg


switch to the new gg for the regress suite


typo


reimplement gg This is a better version of gg. Initially it grew with flags directly needed to the specific test cases I wanted to write, so it's ugly to use but handy for tests. This is a new and re-thought implementation that it is (hopefully) easier to use both and "curl-like for gemini" but also for scripts and tests cases. One completely new feature is the proxying support with -P to send the request to the given host.


sync changelog


[seccomp] allow ugetrlimit(2), needed by glibc on armv7l


missing dots (not adding one in the gemini version because it could be mistakenly for part of the command)


specify that renew-certs needs gmid from the master branch


relax the "wont proxy request" check: don't check the port number Don't refuse to serve the request if the port number doesn't match the one we're listening on, as initially suggested by Allen Sobot. Complex setup may have a gmid instance reachable from multiple ports and the meaning of the check in the first places was to avoid tricking clients into thinking that we're serving for those domains: the port number is way less important than the schema or domain name. In the long run, the best way would probably to add a `listen on' keyword for the servers blocks, just like OpenBSD' httpd, but gmid can't listen on multiple ports/interfaces yet


configure: support --prefix=... It's like passing PREFIX=... on the command line


typo forgot to rename variable in lib.sh: dont_check -> dont_check_server_alive.


rename `runtime' to `regress' while there also kill an unused rule `regress', it's now redundant since all the tests are run together.


rename variable


run all kinds of tests via tests.sh/runtime while there also change the dependency in the makefile: iri_test should be alone, not as deps of `data'.