Commits
- Commit:
7c956fefc2035666770958e2cfaf278e20e6472a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
track file dependency using -MMD if available
While here, move the SRCS variable to the configure and add the
-includes in Makefile.local; it de-clutters the Makefile a bit.
- Commit:
613c827165ea6fbd5ff7d7b6160f52a33978ed6f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add `gg' to the list of things to clean
- Commit:
8dfacf0242f7738efdac61cb77e435aeebdbe38c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove TAGS and compile_flags.txt from the list of default actions
- Commit:
8e7e7cacf22fe8845326623eb8e44e70e07c0455
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix regress when TESTS is more than one word
- Commit:
ec5c5ced4a067647c94c6e1cbc7fe333e3a37c4b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
make clean: don't clean regress, add cleanall for that
- Commit:
72b033ef18ae3f82922f6f11ce0f5194e95f667d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add ability to proxy requests
Add to gmid the ability to forwad a request to another gemini server and
thus acting like a reverse proxy. The current syntax for the config
file is
server "example.com" {
...
proxy relay-to host:port
}
Further options (like the use of custom certificates) are planned.
cf. github issue #7
- Commit:
5c7abf01515677804eeb2cf083e33e4ddd742caf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
3096da4ef4418dc57f3e0b1fb1f89dceb2ca426a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
allow to run only a subset of the runtime tests
with
make TESTS='test_1 test_2 ...' regress
now it's possible to run only that specified subset of tests. It's
really useful during debugging :)
- Commit:
8518014cb921d7e652a05d55e23ab06e04539f0f
- From:
- Anna “CyberTailor” <cyber@sysrq.in>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
fix "warning: jobserver unavailable: using -j1"
https://www.gnu.org/software/make/manual/html_node/Error-Messages.html
- Commit:
2d383cbd5f19052f4f4d154e0d5e4ec387b12690
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove last occurrences of lex
- Commit:
74f0778b9ae93a700d8b0f759b05f24e69f54921
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop the dependency on lex by implementing yylex by ourselves
The actual implementation is based off doas' parse.y. This gave us
various benefits, like cleaner code, \ to break long lines, better
handling of quotes etc...
- Commit:
f48e3b85a97ab6dbf808559c2231d0ab6344ba66
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move gg to regress
- Commit:
8ad1c570242cd93f0802931621b49b2510b338e7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fastcgi: a first implementation
Not production-ready yet, but it's a start.
This adds a third ``backend'' for gmid: until now there it served
local files or CGI scripts, now FastCGI applications too.
FastCGI is meant to be an improvement over CGI: instead of exec'ing a
script for every request, it allows to open a single connection to an
``application'' and send the requests/receive the responses over that
socket using a simple binary protocol.
At the moment gmid supports three different methods of opening a
fastcgi connection:
- local unix sockets, with: fastcgi "/path/to/sock"
- network sockets, with: fastcgi tcp "host" [port]
port defaults to 9000 and can be either a string or a number
- subprocess, with: fastcgi spawn "/path/to/program"
the fastcgi protocol is done over the executed program stdin
of these, the last is only for testing and may be removed in the
future.
P.S.: the fastcgi rule is per-location of course :)
- Commit:
11c986679a15e976e5fdde5e439a18be4acac0de
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sort the auto index alphabetically
- Commit:
548c2849fab0906f262491fc9744724f23af6687
- From:
- Omar Polo <op@omarpolo.com>
- Date:
hide output of etags
even the message "sh: etags: not such file or directory" or whatever
seems to be confusing for users, so silent it.
(maybe it would be better not to automatically generate the TAGS, but
it's so handy...)