Blob


1 2021-02-07 Omar Polo <op@omarpolo.com>
3 * parse.y (option): added prefork option
5 2021-02-06 Omar Polo <op@omarpolo.com>
7 * parse.y (locopt): added ``block return'' and ``strip'' options
8 (servopt): add the ``entrypoint'' option
10 2021-02-05 Omar Polo <op@omarpolo.com>
12 * iri.c (parse_query): don't %-decode the query part. This affects the value of QUERY_STRING for CGI scripts too, since that must be %-encoded and we're currently shipping it decoded.
14 2021-02-04 Omar Polo <op@omarpolo.com>
16 * gmid.c (main): reload configuration on SIGHUP, without disconnecting the clients
18 2021-02-02 Omar Polo <op@omarpolo.com>
20 * server.c (handle_dirlist_head): print the header in the directory listing
21 (open_file): cgi follows globbing rules, just like location and hostname matching
23 2021-02-01 Omar Polo <op@omarpolo.com>
25 * parse.y (servopt): require absolute paths in config file
27 2021-01-31 Omar Polo <op@omarpolo.com>
29 * gmid.c (main): cgi scripts now have only std{in,out,err} open
31 2021-01-30 Omar Polo <op@omarpolo.com>
33 * 1.5 tagged
34 * server.c: change precedence of location rules
36 2021-01-29 Omar Polo <op@omarpolo.com>
38 * iri.c (parse_authority): accept a wider range of unicode
39 codepoints while parsing the host name.
41 2021-01-26 Omar Polo <op@omarpolo.com>
43 * puny.c (puny_decode): initial punycode support!
45 2021-01-25 Omar Polo <op@omarpolo.com>
47 * gmid.1: manpage improvements (example and usage)
49 * gmid.c (main): Dropping -C, -K, -f, changing the meaning of -d:
50 now it's the certificate directory. Serve the directory given as
51 positional argument (or the current one) when running in
52 config-less mode.
53 (gen_certificate): automatically generate a certificate
55 * parse.y (option): added chroot and user options
57 2021-01-24 Omar Polo <op@omarpolo.com>
59 * server.c (open_dir): add directory listing (disabled by default)
61 * parse.y (vhost): added support for location blocks
63 * server.c (send_dir): make the directory index customizable
65 2021-01-23 Omar Polo <op@omarpolo.com>
67 * gg.c (main): added gg, a barebone gemini client. used by the
68 regress suite
70 2021-01-21 Omar Polo <op@omarpolo.com>
72 * configure: added a configure script
74 * server.c (handle_handshake): glob for vhost domain
76 * gmid.c (log_request): logs the full IRI and the response code (even for CGI)
78 2021-01-19 Omar Polo <op@omarpolo.com>
80 * parse.y (servopt): add "lang" server option
81 (servopt): moving "default type" from global options to server options
83 * Dockerfile: add a dockerfile
85 2021-01-18 Omar Polo <op@omarpolo.com>
87 * parse.y (option): add mime and "default type" options for media types.
89 2021-01-17 Omar Polo <op@omarpolo.com>
91 * sandbox.c (sandbox): added initial seccomp(2) support
93 2021-01-15 Omar Polo <op@omarpolo.com>
95 * cgi.c (start_cgi): set SERVER_NAME to the vhost when executing CGI scripts
97 * parse.y (option): add ability to specify the tls versions with "protocols"
99 * gmid.c (handle_open_conn): ensure the port number of the request matches
101 * sandbox.c (sandbox): sandbox on OpenBSD (pledge/unveil, as before) and on FreeBSD (capsicum) too
103 * sample.conf: added sample configuration
105 * gmid.c (main): changed behaviour: daemon off by default
106 (main): changed -c in -C (cert option)
107 (main): changed -k in -K (key option, for consistency with -C)
108 (main): added -c to load a configuration
109 (main): certs, key and doc (-C -K and -d) doesn't have a default value anymore
110 (handle_handshake): add vhosts support
112 2021-01-13 Omar Polo <op@omarpolo.com>
114 * iri.c (parse_scheme): normalize scheme while parsing, so we're
115 RFC3986 compliant.
117 2021-01-11 Omar Polo <op@omarpolo.com>
119 * 1.4 and 1.4.1 tagged
121 * gmid.c (main): ipv6 disabled by default and -6 flag to enable it
122 (handle): reject non-gemini protocols with 53
124 2021-01-10 Omar Polo <op@omarpolo.com>
126 * gmid.c (logs): log also the port of the client
127 (loop): accept both ipv4 and ipv6
129 2020-12-26 Omar Polo <op@omarpolo.com>
131 * uri.c (parse_uri): IRI support
133 2020-12-21 Omar Polo <op@omarpolo.com>
135 * gmid.c (main): -d supports relative paths
137 2020-12-02 Omar Polo <op@omarpolo.com>
139 * gmid.c: logging reworked and daemonize. The -l option was
140 removed: now it logs on syslog if -f (foreground) is not passed.
142 2020-11-18 Omar Polo <op@omarpolo.com>
144 * 1.3.2 tagged
146 * gmid.c (url_after_proto): fix bug introduced in last version
147 regarding full URLs with explicit gemini protocol.
149 * 1.3.1 tagged
151 * gmid.c (url_after_proto): correct url parsing: accept URLs
152 without explicit protocol
153 (url_start_of_request): correct handling of relative URLs
155 2020-11-17 Omar Polo <op@omarpolo.com>
157 * gmid.c (main): add flag -p to change the port
159 2020-11-10 Omar Polo <op@omarpolo.com>
161 * ChangeLog: 1.3 tagged, fixed ChangeLog format
163 * gmid.c (open_file): added support for path parameters for CGI
164 scripts
166 2020-11-06 Omar Polo <op@omarpolo.com>
168 * gmid.1: great improvements to the documentation
170 * gmid.c (url_after_proto): ensure that the requested protocol is
171 “gemini” and not something else that’s long 6 bytes.
173 * gmid.c (loop): added support for cgi scripts (can handle multiple
174 concurrently)
176 2020-11-06 Omar Polo <op@venera>
178 * gmid.1: added option to log to a file
180 2020-11-05 Omar Polo <op@omarpolo.com>
182 * gmid.c (filetypes): add MIME type for xml files
184 2020-11-03 Omar Polo <op@omarpolo.com>
186 * 1.2 tagged
188 * gmid.c (main): ignore SIGPIPE
190 2020-10-14 Omar Polo <op@omarpolo.com>
192 * 1.1 tagged
194 * switching to mmap() based file handling
196 2020-10-07 Omar Polo <op@omarpolo.com>
198 * 1.0 tagged