Commit graph

  • ec50a315a3 Use concrete types for TlsStreams Matt Brubeck 2020-12-31 17:02:45 -0800
  • edf2ebffdc Refactor error handling and logging Matt Brubeck 2020-12-31 16:20:57 -0800
  • 847434d844 Reorganize some code Matt Brubeck 2020-12-31 15:41:15 -0800
  • 879422c2cc Simplify percent-encoding of paths. Matt Brubeck 2020-12-31 14:54:26 -0800
  • fe62be214e Reduce number of writes in send_header Matt Brubeck 2020-12-31 14:39:04 -0800
  • bf2e35537c Percent-escape more characters Matt Brubeck 2020-12-30 22:12:38 -0800
  • da3f3fb727 Version 2.1.1 v2.1.1 Matt Brubeck 2020-12-30 21:47:06 -0800
  • 70b28a65e1 Encode spaces in filenames Matt Brubeck 2020-12-30 21:16:12 -0800
  • 9683146851 Print directory listings in alphabetical order Matt Brubeck 2020-12-30 20:54:55 -0800
  • bd7b542048 Version 2.1.0 v2.1.0 Matt Brubeck 2020-12-28 15:06:08 -0800
  • a70f5e6100 Use async version of read_dir Matt Brubeck 2020-12-27 12:18:05 -0800
  • 0909a4def8 Rename 'respond' to 'send_header' Matt Brubeck 2020-12-27 12:12:21 -0800
  • a007908248 Facter directory listing into a function Matt Brubeck 2020-12-27 12:11:38 -0800
  • e4dacd1315 implement basic directory listing Johann150 2020-12-26 15:51:58 +0100
  • 7998fafcc7 Update dependencies Matt Brubeck 2020-12-22 20:58:29 -0800
  • a3b1e2d0f9 Fix typo Matt Brubeck 2020-12-22 20:52:22 -0800
  • 5619af1731 Version 2.0.0 v2.0.0 Matt Brubeck 2020-12-22 20:40:58 -0800
  • 9d3b5fb777 Raspberry Pi cross compilation Matt Brubeck 2020-12-22 20:40:43 -0800
  • a2f6f5932f Enable logging by default Matt Brubeck 2020-12-22 17:42:23 -0800
  • 7a117f3a47 Option to add a language code to text/gemini responses Matt Brubeck 2020-12-22 16:16:42 -0800
  • dfa5dbd971 Use getopts for option parsing Matt Brubeck 2020-12-22 13:52:24 -0800
  • 5d187a47fc Sort dependencies Matt Brubeck 2020-12-22 13:11:58 -0800
  • 06aa131196 Version 1.3.2 v1.3.2 Matt Brubeck 2020-12-09 11:36:02 -0800
  • ebd457d9cf Update to async-tls 0.11 Matt Brubeck 2020-12-09 11:35:01 -0800
  • 41dac7ce5f Version 1.3.1 v1.3.1 Matt Brubeck 2020-12-08 08:36:34 -0800
  • 838f3ad8cb Update dependencies to make cargo install work Douglas Creager 2020-12-08 08:39:13 -0500
  • cd5918e1b9 Refactor error handling code Matt Brubeck 2020-11-21 10:44:06 -0800
  • 9097318e28 Log all requests Matt Brubeck 2020-11-21 09:53:26 -0800
  • 6b553afa13 Use error 53 for mismatched port Matt Brubeck 2020-11-21 09:51:28 -0800
  • 8b418ea09f Fix typo in README Matt Brubeck 2020-11-20 14:46:50 -0800
  • 2b5125f517 Version 1.3.0 v1.3.0 Matt Brubeck 2020-11-20 14:27:31 -0800
  • b88cffb75e Tweak formatting of URLs in logs Matt Brubeck 2020-11-20 14:16:14 -0800
  • 39e17828bb Update dependencies Matt Brubeck 2020-11-20 13:54:36 -0800
  • 5394793b44 Disable some optional dependencies Matt Brubeck 2020-11-20 13:50:42 -0800
  • a515d508ac do not redirect on empty path Johann150 2020-11-19 22:21:57 +0100
  • 80286a59fa
    Merge pull request #4 from Johann150/master Matt Brubeck 2020-11-16 14:46:08 -0800
  • b671ddf235
    implement right status codes Johann150 2020-11-16 20:39:30 +0100
  • 7ef914153b
    add host and port checks Johann150 2020-11-14 11:15:30 +0100
  • bd2bc310d9
    Merge pull request #3 from tronje/master Matt Brubeck 2020-11-10 09:42:48 -0800
  • b33417198c Add some simple logging via the env_logger crate Tronje Krabbe 2020-11-09 16:52:46 +0100
  • d13c98d614 Update dependencies Matt Brubeck 2020-09-28 21:17:41 -0700
  • 75a0d127a1 Remove duplicated instructions Matt Brubeck 2020-09-22 10:59:50 -0700
  • 9b5ca7f130 Version 1.2.2 Matt Brubeck 2020-09-21 15:12:11 -0700
  • 34fc4968ae Update dependencies v1.2.2 Matt Brubeck 2020-09-21 12:57:35 -0700
  • 713c8ca837 Code cleanup Matt Brubeck 2020-07-27 15:48:11 -0700
  • 2c4118b590 Switch from tree_magic to mime_guess Matt Brubeck 2020-07-22 08:28:42 -0700
  • 3a05cefe6f Update depenedencies Matt Brubeck 2020-07-22 08:26:33 -0700
  • 22c3209aa7 Update async-tls Matt Brubeck 2020-07-16 08:57:49 -0700
  • 2cc5f791aa Code cleanup Matt Brubeck 2020-07-16 08:50:36 -0700
  • c12b2ab656 Factor out response code Matt Brubeck 2020-06-28 14:44:53 -0700
  • 29fddfe41e Minor cleanup Matt Brubeck 2020-06-20 12:14:07 -0700
  • b25da60e10 Make usage output friendlier Matt Brubeck 2020-06-20 11:16:41 -0700
  • 9b260dfdd2 Link to pre-compiled binary Matt Brubeck 2020-06-20 10:53:10 -0700
  • a20af4ad12 Version 1.2.1 v1.2.1 Matt Brubeck 2020-06-20 10:31:02 -0700
  • 443e83f01b Update dependencies Matt Brubeck 2020-06-20 10:32:47 -0700
  • 95f03cf143 Never read whole file into memory Matt Brubeck 2020-06-20 10:20:56 -0700
  • 76bbfafee5 Minor cleanup Matt Brubeck 2020-06-20 10:02:36 -0700
  • 59c921c5d5 Switch to fork of tree_magic v1.2.0 Matt Brubeck 2020-06-10 08:40:45 -0700
  • c4aa71836b Update dependencies Matt Brubeck 2020-06-08 18:28:48 -0700
  • 7899d9addb Change file extension from .gemini to .gmi Matt Brubeck 2020-06-07 08:53:32 -0700
  • 5314e23415 Update depedencies Matt Brubeck 2020-05-22 19:13:38 -0700
  • 2632bf14be Minor cleanup Matt Brubeck 2020-05-22 19:13:27 -0700
  • 798506a03c Fix error message when request is too long Matt Brubeck 2020-05-22 19:08:00 -0700
  • 7588b23fcb Switch from lazy_static to once_cell Matt Brubeck 2020-05-22 19:00:21 -0700
  • 8e13714011 comments Matt Brubeck 2020-05-22 18:37:55 -0700
  • cac7e394be Minor cleanup in parse_request Matt Brubeck 2020-05-22 15:26:16 -0700
  • a049beb66b Improved request parsing. Matt Brubeck 2020-05-22 08:22:26 -0700
  • 039057b8db Improve request parsing Matt Brubeck 2020-05-22 08:05:14 -0700
  • 0d872688f9 Use temporary fork of tree_magic Matt Brubeck 2020-05-21 17:05:06 -0700
  • ce570fc8c4 Auto-detect MIME types v1.1.0 Matt Brubeck 2020-05-21 15:28:07 -0700
  • db5665b783 Update dependencies v1.0.1 Matt Brubeck 2020-05-21 10:37:12 -0700
  • 6f490876cd Check URL schemes Matt Brubeck 2020-05-21 10:25:43 -0700
  • 3a41f40775 Redirect on URLs without trailing slash Matt Brubeck 2020-05-21 10:11:49 -0700
  • ca85842369 Fix error response codes Matt Brubeck 2020-05-21 09:35:43 -0700
  • eaebcb2046 Update dependencies v1.0.0 Matt Brubeck 2020-05-20 15:34:07 -0700
  • 2b26ed9167 README Matt Brubeck 2020-05-20 14:40:01 -0700
  • 45d2e8cf80 Use async filesystem I/O Matt Brubeck 2020-05-20 08:40:49 -0700
  • 73fa0e0f01 Code cleanup Matt Brubeck 2020-05-20 08:33:31 -0700
  • 85ea736eb2 Don't panic on cannot-be-a-base URLs Matt Brubeck 2020-05-20 08:28:22 -0700
  • 0872e3d1fe Remove unnecessary path check Matt Brubeck 2020-05-20 08:24:45 -0700
  • b728df0ee8 Code cleanup Matt Brubeck 2020-05-20 08:18:35 -0700
  • db0785c4b9 Use index.gemini instead of dir listings Matt Brubeck 2020-05-20 08:10:50 -0700
  • d6cb2e831b Directory listing Matt Brubeck 2020-05-19 22:07:31 -0700
  • 259a190a9c Command-line args Matt Brubeck 2020-05-19 21:21:13 -0700
  • a165e8e142 Make TLS config global Matt Brubeck 2020-05-19 15:10:55 -0700
  • 8d09b268f9 More error handling Matt Brubeck 2020-05-19 14:52:19 -0700
  • edec8f08bc Switch to pkcs8 key file Matt Brubeck 2020-05-17 19:13:18 -0700
  • b5ce738240 File serving Matt Brubeck 2020-05-17 18:17:46 -0700
  • 7eeba3959e Path validation Matt Brubeck 2020-05-17 12:25:39 -0700
  • 0e6163dcd9 Url parsing Matt Brubeck 2020-05-17 12:14:29 -0700
  • e911d7e38d Add test key Matt Brubeck 2020-05-17 12:12:53 -0700
  • ece2f20305 Fix MIME type Matt Brubeck 2020-05-17 10:43:15 -0700
  • 9e039177df Code cleanup Matt Brubeck 2020-05-17 10:41:15 -0700
  • bf09e83d53 Minor changes Matt Brubeck 2020-05-17 10:39:30 -0700
  • a0c20258cb Working echo server Matt Brubeck 2020-05-17 10:19:34 -0700
  • bf439b4c52 Trying to fix TLS Matt Brubeck 2020-05-17 09:58:55 -0700
  • 9d1e5f1d21 WIP: Basic echo Matt Brubeck 2020-05-17 09:46:06 -0700
  • 45faee45a7 Start of handle_connection Matt Brubeck 2020-05-17 09:40:50 -0700
  • dc41732486 panic=abort Matt Brubeck 2020-05-17 09:05:19 -0700
  • bbd0035eb4 WIP: Add SSL config Matt Brubeck 2020-05-17 09:04:58 -0700