Commit Graph

  • 7ccf75ad43 Move DefaultClient up adnano 2020-09-27 22:15:36 -0400
  • c3dbcb39db Clarify comment adnano 2020-09-27 22:13:50 -0400
  • 554e0af32a Split Redirect into two functions adnano 2020-09-27 22:06:08 -0400
  • 599c5bb131 Use helper functions throughout adnano 2020-09-27 22:03:09 -0400
  • 707ebf1c0c Add SetMimetype convenience function adnano 2020-09-27 21:53:58 -0400
  • cec043cfd8 Fix README.md adnano 2020-09-27 21:40:51 -0400
  • 5535cff842 Check certificate notBefore and notAfter times adnano 2020-09-27 21:37:10 -0400
  • 5a0f7cf631 Trim trailing slash from Handler patterns adnano 2020-09-27 21:24:08 -0400
  • 3428a006ba Move package documentation comment adnano 2020-09-27 21:19:31 -0400
  • 3c9821d812 Add more helper functions adnano 2020-09-27 21:13:42 -0400
  • fdf6bbc62f Add helper functions adnano 2020-09-27 20:52:24 -0400
  • 370bcf3bb9 Rename NewProxyRequest to NewRequestTo adnano 2020-09-27 20:37:16 -0400
  • f6be76f8b8 examples/client: Handle relative redirects adnano 2020-09-27 20:34:59 -0400
  • 38fe1f21dc Change package name to gmi adnano 2020-09-27 20:20:59 -0400
  • a4a8d49ca7 Add helper handler functions adnano 2020-09-27 20:11:45 -0400
  • 73e4ef0689 Reject invalid status codes adnano 2020-09-27 19:56:33 -0400
  • 9f1a38a0dd Polish example client adnano 2020-09-27 19:45:48 -0400
  • 4cbc591c3e Update README.md adnano 2020-09-27 17:44:49 -0400
  • 8009de81eb Add function to add a host temporarily adnano 2020-09-27 17:41:41 -0400
  • b46a05e5ff Add client authorization example adnano 2020-09-27 17:39:44 -0400
  • a691e3cc8b Fix README.md adnano 2020-09-27 16:31:41 -0400
  • c79a1f4484 Update documentation adnano 2020-09-27 16:21:56 -0400
  • 73a1692a5b Make TrustCertificate accept hostname instead of request adnano 2020-09-27 16:10:36 -0400
  • 32a9fcba0c Fix hosts not being added to known hosts file adnano 2020-09-27 16:06:17 -0400
  • c4af352e87 Temporarily allow common names in certificates adnano 2020-09-27 15:57:55 -0400
  • e01d59f8f6 Don't store wildcards in the known hosts file adnano 2020-09-27 15:03:46 -0400
  • 0343248952 Remove port from host when verifying hostnames adnano 2020-09-27 14:25:28 -0400
  • 188c3457e6 Fix client example adnano 2020-09-27 14:23:25 -0400
  • f0ce4576e1 Handle multiple DNS names adnano 2020-09-27 14:22:41 -0400
  • 013b2a4d3e Add function to write known hosts to io.Writer adnano 2020-09-27 14:18:30 -0400
  • 2eb7fb9ba4 Implement certificate creation adnano 2020-09-27 13:50:48 -0400
  • e28e547bcf Adjust user prompt in client example adnano 2020-09-26 18:56:04 -0400
  • a1a2523c5c Reject requests containing '..' in them adnano 2020-09-26 17:13:13 -0400
  • ceb40a2fab Implement default client adnano 2020-09-26 16:52:14 -0400
  • 92a1dbbc0c Implement file server adnano 2020-09-26 16:38:26 -0400
  • 6458420454 Add preliminary CertificateStore API adnano 2020-09-26 15:14:34 -0400
  • 872f6e2683 Update README.md adnano 2020-09-26 14:34:15 -0400
  • 4b0f94157c Fix client example adnano 2020-09-26 14:01:06 -0400
  • d3002cc8b4 Update README.md adnano 2020-09-26 13:59:24 -0400
  • 769b6ff4d9 Implement default known hosts path adnano 2020-09-26 13:35:56 -0400
  • 1b3f9a0655 Remove (*KnownHosts).Has function adnano 2020-09-26 13:29:29 -0400
  • bf3e6b3c5c Differentiate between unknown and untrusted certificates adnano 2020-09-26 13:27:03 -0400
  • fc96076472 Update README.md adnano 2020-09-26 00:40:28 -0400
  • d604e8c337 Specify minimum version of TLS 1.2 adnano 2020-09-26 00:31:16 -0400
  • d5d491e9c2 Fix misleading comment adnano 2020-09-25 23:29:26 -0400
  • 1f3587ba9d Distinguish client errors from server errors adnano 2020-09-25 23:23:24 -0400
  • 927dfd29c5 Refactor TOFU adnano 2020-09-25 23:06:54 -0400
  • b4295dd2dc Implement basic TOFU adnano 2020-09-25 21:43:13 -0400
  • 4a95fe4a90 Add KnownHost.Write function adnano 2020-09-25 20:55:37 -0400
  • be55224f89 Fix known host expires check adnano 2020-09-25 20:31:03 -0400
  • eaa034204a Add method to check if hostname is found in KnownHosts adnano 2020-09-25 20:22:48 -0400
  • 53d84882ea Implement configurable Client adnano 2020-09-25 19:53:50 -0400
  • 2f43c191cc Reorganize adnano 2020-09-25 19:09:49 -0400
  • d36131356d Rename gemini.go to client.go adnano 2020-09-25 19:07:40 -0400
  • fdb7c9819e Move server code to its own file adnano 2020-09-25 19:06:56 -0400
  • ace3e682de Remove TLSConfig fields adnano 2020-09-25 18:53:20 -0400
  • ec68ab8609 Add test adnano 2020-09-25 11:27:26 -0400
  • 99b50e6caf Sort ServeMux entries by length adnano 2020-09-25 11:00:18 -0400
  • eb8c9e0c03 Update README.md adnano 2020-09-25 10:09:41 -0400
  • e09a659439 Update README.md adnano 2020-09-24 20:13:59 -0400
  • 0cb8083ce3 Update comments adnano 2020-09-24 19:41:50 -0400
  • 57a124a8b9 Convert ResponseWriter to struct adnano 2020-09-24 19:38:26 -0400
  • 4b27a736ac Use more buffered I/O adnano 2020-09-24 19:22:35 -0400
  • 3980cfd28f Use buffered IO adnano 2020-09-24 19:02:03 -0400
  • 891c4fbec4 Remove Client struct adnano 2020-09-24 01:55:41 -0400
  • ace66eceb0 Provide Response with ConnectionState adnano 2020-09-24 01:45:26 -0400
  • fde295cb25 Fix client example adnano 2020-09-24 01:43:03 -0400
  • c6802d9d9a Merge Request and RequestInfo adnano 2020-09-24 01:37:57 -0400
  • 63696fc7c8 Refactor adnano 2020-09-24 00:30:21 -0400
  • 758e056952 Handle more than one request at a time adnano 2020-09-24 00:26:30 -0400
  • 6297d1e3ca Enforce valid URLs adnano 2020-09-21 22:21:51 -0400
  • 86e7fe4355 Add package declaration comment adnano 2020-09-21 22:09:50 -0400
  • 01294f6661 Refactor client requests and server responses adnano 2020-09-21 21:31:09 -0400
  • 5a0a515874 Provide Handler with client remote address adnano 2020-09-21 20:44:10 -0400
  • 39552c0f8f Provide Handler with client certificate information adnano 2020-09-21 19:17:10 -0400
  • 81974a9e00 Update Client documentation adnano 2020-09-21 18:30:55 -0400
  • 5ec35d84db Add link to documentation in README.md adnano 2020-09-21 18:28:34 -0400
  • 0b6d3d8633 Rename example directory to examples adnano 2020-09-21 18:25:31 -0400
  • cc06e65b41 Add support for client-side certificates adnano 2020-09-21 18:21:42 -0400
  • fd74b8fbe9 Use bufio.Reader in (*Client).Do adnano 2020-09-21 17:58:36 -0400
  • e6f70cf697 Update documentation adnano 2020-09-21 17:36:09 -0400
  • e20b8a0a5e Add examples adnano 2020-09-21 17:23:51 -0400
  • 7c2a833a92 Add LICENSE adnano 2020-09-21 15:55:27 -0400
  • 257b807675 Initial commit adnano 2020-09-21 15:48:42 -0400