Blob


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