Commits
Commit:
534afd0ddcba7c3d2f8478e89db026010c6190c5
Author:
Omar Polo <op@omarpolo.com>
Date:
Wed Oct 5 15:10:44 2022 UTC
make the various strings in the config fixed-length

will help in future restructuring to have fixed-size objects.
Commit:
a555e0d67baef271ffe4a186326ee5f1c16fff75
Author:
Omar Polo <op@omarpolo.com>
Date:
Mon Jul 4 09:48:39 2022 UTC
copyright years
Commit:
e5d82d9472513ef742dbb0b5ac451337625feb58
Author:
Omar Polo <op@omarpolo.com>
Date:
Sat Mar 19 11:02:42 2022 UTC
const-ify some tables

matches found with

% grep -R '=[ ]*{' . | fgrep -v const
Commit:
1cdea97b6c74ec86e202431a208b5c99343f7273
Author:
Omar Polo <op@omarpolo.com>
Date:
Sun Jan 30 10:14:44 2022 UTC
allow using a custom hostname for SNI during proxying

add a `sni' option for the `proxy' block: the given name is used instead
of the one extracted by the `relay-to' rule.
Commit:
e0f6dc646d6c257869c17f16db977cd064262830
Author:
Omar Polo <op@omarpolo.com>
Date:
Thu Jan 27 09:55:52 2022 UTC
improve proxy error path

properly release everything when during client_close if the request
was managed by a proxy.
Commit:
89efa81bcc2b069fa1cca7c1868bd056f2a38f74
Author:
Omar Polo <op@omarpolo.com>
Date:
Thu Jan 27 09:53:43 2022 UTC
set REQUEST_PROXY only when proxy_init is successful
Commit:
b7967bc1f695126e1bf2705bfd486bbc32aaf8b0
Author:
Omar Polo <op@omarpolo.com>
Date:
Sun Jan 2 16:33:28 2022 UTC
proxy: allow multiple proxy blocks, matching options and validations

as a side effect the order of the content of a server block is relaxed:
options, location or proxy blocks can be put in any order.
Commit:
593e412b4988ca8b72bb7ef9b1cc663cb1184215
Author:
Omar Polo <op@omarpolo.com>
Date:
Sat Jan 1 20:16:14 2022 UTC
allow to disable TLS when proxying requests
Commit:
c7c8ef448bc8832998606ec217907c7dc66fec6c
Author:
Omar Polo <op@omarpolo.com>
Date:
Sat Jan 1 19:04:50 2022 UTC
add `protocols' option to `proxy' rule
Commit:
5128c0b0e3b51737783c4c68c9e34a76ec8c8b0e
Author:
Omar Polo <op@omarpolo.com>
Date:
Sat Jan 1 18:50:10 2022 UTC
add `verifyname' option for `proxy' rule
Commit:
7bdcc91ec70ddde092ac5d7b4f75d54915e7b221
Author:
Omar Polo <op@omarpolo.com>
Date:
Sat Jan 1 17:08:39 2022 UTC
simplify the proxying code

it doesn't make any sense to keep the proxying info per-location:
proxying only one per-vhost. It can't work differently, it doesn't make
sense anyway.
Commit:
d49093c105e7e9af2638bce945374ac0036b3498
Author:
Omar Polo <op@omarpolo.com>
Date:
Sat Jan 1 16:33:44 2022 UTC
support optional client certificate for proxy rule
Commit:
72b033ef18ae3f82922f6f11ce0f5194e95f667d
Author:
Omar Polo <op@omarpolo.com>
Date:
Wed Dec 29 20:36:54 2021 UTC
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
Omar Polo