Blob


1 2021-01-21 Omar Polo <op@omarpolo.com>
3 * configure: added a configure script
5 * server.c (handle_handshake): glob for vhost domain
7 * gmid.c (log_request): logs the full IRI and the response code (even for CGI)
9 2021-01-19 Omar Polo <op@omarpolo.com>
11 * parse.y (servopt): add "lang" server option
12 (servopt): moving "default type" from global options to server options
14 * Dockerfile: add a dockerfile
16 2021-01-18 Omar Polo <op@omarpolo.com>
18 * parse.y (option): add mime and "default type" options for media types.
20 2021-01-17 Omar Polo <op@omarpolo.com>
22 * sandbox.c (sandbox): added initial seccomp(2) support
24 2021-01-15 Omar Polo <op@omarpolo.com>
26 * cgi.c (start_cgi): set SERVER_NAME to the vhost when executing CGI scripts
28 * parse.y (option): add ability to specify the tls versions with "protocols"
30 * gmid.c (handle_open_conn): ensure the port number of the request matches
32 * sandbox.c (sandbox): sandbox on OpenBSD (pledge/unveil, as before) and on FreeBSD (capsicum) too
34 * sample.conf: added sample configuration
36 * gmid.c (main): changed behaviour: daemon off by default
37 (main): changed -c in -C (cert option)
38 (main): changed -k in -K (key option, for consistency with -C)
39 (main): added -c to load a configuration
40 (main): certs, key and doc (-C -K and -d) doesn't have a default value anymore
41 (handle_handshake): add vhosts support
43 2021-01-13 Omar Polo <op@omarpolo.com>
45 * iri.c (parse_scheme): normalize scheme while parsing, so we're
46 RFC3986 compliant.
48 2021-01-11 Omar Polo <op@omarpolo.com>
50 * 1.4 and 1.4.1 tagged
52 * gmid.c (main): ipv6 disabled by default and -6 flag to enable it
53 (handle): reject non-gemini protocols with 53
55 2021-01-10 Omar Polo <op@omarpolo.com>
57 * gmid.c (logs): log also the port of the client
58 (loop): accept both ipv4 and ipv6
60 2020-12-26 Omar Polo <op@omarpolo.com>
62 * uri.c (parse_uri): IRI support
64 2020-12-21 Omar Polo <op@omarpolo.com>
66 * gmid.c (main): -d supports relative paths
68 2020-12-02 Omar Polo <op@omarpolo.com>
70 * gmid.c: logging reworked and daemonize. The -l option was
71 removed: now it logs on syslog if -f (foreground) is not passed.
73 2020-11-18 Omar Polo <op@omarpolo.com>
75 * 1.3.2 tagged
77 * gmid.c (url_after_proto): fix bug introduced in last version
78 regarding full URLs with explicit gemini protocol.
80 * 1.3.1 tagged
82 * gmid.c (url_after_proto): correct url parsing: accept URLs
83 without explicit protocol
84 (url_start_of_request): correct handling of relative URLs
86 2020-11-17 Omar Polo <op@omarpolo.com>
88 * gmid.c (main): add flag -p to change the port
90 2020-11-10 Omar Polo <op@omarpolo.com>
92 * ChangeLog: 1.3 tagged, fixed ChangeLog format
94 * gmid.c (open_file): added support for path parameters for CGI
95 scripts
97 2020-11-06 Omar Polo <op@omarpolo.com>
99 * gmid.1: great improvements to the documentation
101 * gmid.c (url_after_proto): ensure that the requested protocol is
102 “gemini” and not something else that’s long 6 bytes.
104 * gmid.c (loop): added support for cgi scripts (can handle multiple
105 concurrently)
107 2020-11-06 Omar Polo <op@venera>
109 * gmid.1: added option to log to a file
111 2020-11-05 Omar Polo <op@omarpolo.com>
113 * gmid.c (filetypes): add MIME type for xml files
115 2020-11-03 Omar Polo <op@omarpolo.com>
117 * 1.2 tagged
119 * gmid.c (main): ignore SIGPIPE
121 2020-10-14 Omar Polo <op@omarpolo.com>
123 * 1.1 tagged
125 * switching to mmap() based file handling
127 2020-10-07 Omar Polo <op@omarpolo.com>
129 * 1.0 tagged