Blob


1 2021-01-31 Omar Polo <op@omarpolo.com>
3 * gmid.c (main): cgi scripts now have only std{in,out,err} open
5 2021-01-30 Omar Polo <op@omarpolo.com>
7 * server.c: change precedence of location rules
9 2021-01-29 Omar Polo <op@omarpolo.com>
11 * iri.c (parse_authority): accept a wider range of unicode
12 codepoints while parsing the host name.
14 2021-01-26 Omar Polo <op@omarpolo.com>
16 * puny.c (puny_decode): initial punycode support!
18 2021-01-25 Omar Polo <op@omarpolo.com>
20 * gmid.1: manpage improvements (example and usage)
22 * gmid.c (main): Dropping -C, -K, -f, changing the meaning of -d:
23 now it's the certificate directory. Serve the directory given as
24 positional argument (or the current one) when running in
25 config-less mode.
26 (gen_certificate): automatically generate a certificate
28 * parse.y (option): added chroot and user options
30 2021-01-24 Omar Polo <op@omarpolo.com>
32 * server.c (open_dir): add directory listing (disabled by default)
34 * parse.y (vhost): added support for location blocks
36 * server.c (send_dir): make the directory index customizable
38 2021-01-23 Omar Polo <op@omarpolo.com>
40 * gg.c (main): added gg, a barebone gemini client. used by the
41 regress suite
43 2021-01-21 Omar Polo <op@omarpolo.com>
45 * configure: added a configure script
47 * server.c (handle_handshake): glob for vhost domain
49 * gmid.c (log_request): logs the full IRI and the response code (even for CGI)
51 2021-01-19 Omar Polo <op@omarpolo.com>
53 * parse.y (servopt): add "lang" server option
54 (servopt): moving "default type" from global options to server options
56 * Dockerfile: add a dockerfile
58 2021-01-18 Omar Polo <op@omarpolo.com>
60 * parse.y (option): add mime and "default type" options for media types.
62 2021-01-17 Omar Polo <op@omarpolo.com>
64 * sandbox.c (sandbox): added initial seccomp(2) support
66 2021-01-15 Omar Polo <op@omarpolo.com>
68 * cgi.c (start_cgi): set SERVER_NAME to the vhost when executing CGI scripts
70 * parse.y (option): add ability to specify the tls versions with "protocols"
72 * gmid.c (handle_open_conn): ensure the port number of the request matches
74 * sandbox.c (sandbox): sandbox on OpenBSD (pledge/unveil, as before) and on FreeBSD (capsicum) too
76 * sample.conf: added sample configuration
78 * gmid.c (main): changed behaviour: daemon off by default
79 (main): changed -c in -C (cert option)
80 (main): changed -k in -K (key option, for consistency with -C)
81 (main): added -c to load a configuration
82 (main): certs, key and doc (-C -K and -d) doesn't have a default value anymore
83 (handle_handshake): add vhosts support
85 2021-01-13 Omar Polo <op@omarpolo.com>
87 * iri.c (parse_scheme): normalize scheme while parsing, so we're
88 RFC3986 compliant.
90 2021-01-11 Omar Polo <op@omarpolo.com>
92 * 1.4 and 1.4.1 tagged
94 * gmid.c (main): ipv6 disabled by default and -6 flag to enable it
95 (handle): reject non-gemini protocols with 53
97 2021-01-10 Omar Polo <op@omarpolo.com>
99 * gmid.c (logs): log also the port of the client
100 (loop): accept both ipv4 and ipv6
102 2020-12-26 Omar Polo <op@omarpolo.com>
104 * uri.c (parse_uri): IRI support
106 2020-12-21 Omar Polo <op@omarpolo.com>
108 * gmid.c (main): -d supports relative paths
110 2020-12-02 Omar Polo <op@omarpolo.com>
112 * gmid.c: logging reworked and daemonize. The -l option was
113 removed: now it logs on syslog if -f (foreground) is not passed.
115 2020-11-18 Omar Polo <op@omarpolo.com>
117 * 1.3.2 tagged
119 * gmid.c (url_after_proto): fix bug introduced in last version
120 regarding full URLs with explicit gemini protocol.
122 * 1.3.1 tagged
124 * gmid.c (url_after_proto): correct url parsing: accept URLs
125 without explicit protocol
126 (url_start_of_request): correct handling of relative URLs
128 2020-11-17 Omar Polo <op@omarpolo.com>
130 * gmid.c (main): add flag -p to change the port
132 2020-11-10 Omar Polo <op@omarpolo.com>
134 * ChangeLog: 1.3 tagged, fixed ChangeLog format
136 * gmid.c (open_file): added support for path parameters for CGI
137 scripts
139 2020-11-06 Omar Polo <op@omarpolo.com>
141 * gmid.1: great improvements to the documentation
143 * gmid.c (url_after_proto): ensure that the requested protocol is
144 “gemini” and not something else that’s long 6 bytes.
146 * gmid.c (loop): added support for cgi scripts (can handle multiple
147 concurrently)
149 2020-11-06 Omar Polo <op@venera>
151 * gmid.1: added option to log to a file
153 2020-11-05 Omar Polo <op@omarpolo.com>
155 * gmid.c (filetypes): add MIME type for xml files
157 2020-11-03 Omar Polo <op@omarpolo.com>
159 * 1.2 tagged
161 * gmid.c (main): ignore SIGPIPE
163 2020-10-14 Omar Polo <op@omarpolo.com>
165 * 1.1 tagged
167 * switching to mmap() based file handling
169 2020-10-07 Omar Polo <op@omarpolo.com>
171 * 1.0 tagged