Commit graph

  • 72a4cd7c5c Update dependencies Matt Brubeck 2021-01-16 10:58:54 -08:00
  • dd4be5b9f6 Take port as a separate command-line argument Matt Brubeck 2021-01-16 10:16:52 -08:00
  • 4e7d09204f only check path segments in URL Johann150 2021-01-16 13:22:56 +01:00
  • 972ecf8c13 correctly redirect directories Johann150 2021-01-16 13:08:21 +01:00
  • 681ba770a1 check all path components Johann150 2021-01-05 19:57:51 +01:00
  • af783f6911 configuration flag to reenable secret files Johann150 2021-01-05 11:46:17 +01:00
  • 7d10fa3c74 do not serve hidden files Johann150 2021-01-05 11:37:47 +01:00
  • d9cc1cfffa provide addr binding with dual-stack mode example Purexo 2021-01-01 19:46:09 +01:00
  • 1ce32abaa2 Version 2.1.3 Matt Brubeck 2021-01-01 19:51:04 -08:00
  • 1361f07467 Scheme-relative URLs are no longer allowed Matt Brubeck 2021-01-01 20:09:52 -08:00
  • c563f27b1a Send close_notify before closing connection Matt Brubeck 2021-01-01 20:05:07 -08:00
  • 33d39cc34b Organize imports Matt Brubeck 2020-12-31 18:07:59 -08:00
  • 471a9927a0 Use the Tokio async runtime Matt Brubeck 2020-12-31 18:00:03 -08:00
  • beb0566201 Version 2.1.2 Matt Brubeck 2020-12-31 17:07:33 -08:00
  • ec50a315a3 Use concrete types for TlsStreams Matt Brubeck 2020-12-31 17:02:45 -08:00
  • edf2ebffdc Refactor error handling and logging Matt Brubeck 2020-12-31 16:20:57 -08:00
  • 847434d844 Reorganize some code Matt Brubeck 2020-12-31 15:41:15 -08:00
  • 879422c2cc Simplify percent-encoding of paths. Matt Brubeck 2020-12-31 14:54:26 -08:00
  • fe62be214e Reduce number of writes in send_header Matt Brubeck 2020-12-31 14:39:04 -08:00
  • bf2e35537c Percent-escape more characters Matt Brubeck 2020-12-30 22:12:38 -08:00
  • da3f3fb727 Version 2.1.1 Matt Brubeck 2020-12-30 21:47:06 -08:00
  • 70b28a65e1 Encode spaces in filenames Matt Brubeck 2020-12-30 21:16:12 -08:00
  • 9683146851 Print directory listings in alphabetical order Matt Brubeck 2020-12-30 20:54:55 -08:00
  • bd7b542048 Version 2.1.0 Matt Brubeck 2020-12-28 15:06:08 -08:00
  • a70f5e6100 Use async version of read_dir Matt Brubeck 2020-12-27 12:18:05 -08:00
  • 0909a4def8 Rename 'respond' to 'send_header' Matt Brubeck 2020-12-27 12:12:21 -08:00
  • a007908248 Facter directory listing into a function Matt Brubeck 2020-12-27 12:11:38 -08:00
  • e4dacd1315 implement basic directory listing Johann150 2020-12-26 15:51:58 +01:00
  • 7998fafcc7 Update dependencies Matt Brubeck 2020-12-22 20:58:29 -08:00
  • a3b1e2d0f9 Fix typo Matt Brubeck 2020-12-22 20:52:22 -08:00
  • 5619af1731 Version 2.0.0 Matt Brubeck 2020-12-22 20:40:58 -08:00
  • 9d3b5fb777 Raspberry Pi cross compilation Matt Brubeck 2020-12-22 20:40:43 -08:00
  • a2f6f5932f Enable logging by default Matt Brubeck 2020-12-22 17:42:23 -08:00
  • 7a117f3a47 Option to add a language code to text/gemini responses Matt Brubeck 2020-12-22 16:16:42 -08:00
  • dfa5dbd971 Use getopts for option parsing Matt Brubeck 2020-12-22 13:52:24 -08:00
  • 5d187a47fc Sort dependencies Matt Brubeck 2020-12-22 13:11:58 -08:00
  • 06aa131196 Version 1.3.2 Matt Brubeck 2020-12-09 11:36:02 -08:00
  • ebd457d9cf Update to async-tls 0.11 Matt Brubeck 2020-12-09 11:35:01 -08:00
  • 41dac7ce5f Version 1.3.1 Matt Brubeck 2020-12-08 08:36:34 -08:00
  • 838f3ad8cb Update dependencies to make cargo install work Douglas Creager 2020-12-08 08:39:13 -05:00
  • cd5918e1b9 Refactor error handling code Matt Brubeck 2020-11-21 10:44:06 -08:00
  • 9097318e28 Log all requests Matt Brubeck 2020-11-21 09:53:26 -08:00
  • 6b553afa13 Use error 53 for mismatched port Matt Brubeck 2020-11-21 09:51:28 -08:00
  • 8b418ea09f Fix typo in README Matt Brubeck 2020-11-20 14:46:50 -08:00
  • 2b5125f517 Version 1.3.0 Matt Brubeck 2020-11-20 14:27:31 -08:00
  • b88cffb75e Tweak formatting of URLs in logs Matt Brubeck 2020-11-20 14:16:14 -08:00
  • 39e17828bb Update dependencies Matt Brubeck 2020-11-20 13:54:36 -08:00
  • 5394793b44 Disable some optional dependencies Matt Brubeck 2020-11-20 13:50:42 -08:00
  • a515d508ac do not redirect on empty path Johann150 2020-11-19 22:21:57 +01:00
  • 80286a59fa
    Merge pull request #4 from Johann150/master Matt Brubeck 2020-11-16 14:46:08 -08:00
  • b671ddf235
    implement right status codes Johann150 2020-11-16 20:39:30 +01:00
  • 7ef914153b
    add host and port checks Johann150 2020-11-14 11:15:30 +01:00
  • bd2bc310d9
    Merge pull request #3 from tronje/master Matt Brubeck 2020-11-10 09:42:48 -08:00
  • b33417198c Add some simple logging via the env_logger crate Tronje Krabbe 2020-11-09 16:52:46 +01:00
  • d13c98d614 Update dependencies Matt Brubeck 2020-09-28 21:17:41 -07:00
  • 75a0d127a1 Remove duplicated instructions Matt Brubeck 2020-09-22 10:59:50 -07:00
  • 9b5ca7f130 Version 1.2.2 Matt Brubeck 2020-09-21 15:12:11 -07:00
  • 34fc4968ae Update dependencies Matt Brubeck 2020-09-21 12:57:35 -07:00
  • 713c8ca837 Code cleanup Matt Brubeck 2020-07-27 15:48:11 -07:00
  • 2c4118b590 Switch from tree_magic to mime_guess Matt Brubeck 2020-07-22 08:28:42 -07:00
  • 3a05cefe6f Update depenedencies Matt Brubeck 2020-07-22 08:26:33 -07:00
  • 22c3209aa7 Update async-tls Matt Brubeck 2020-07-16 08:57:49 -07:00
  • 2cc5f791aa Code cleanup Matt Brubeck 2020-07-16 08:50:36 -07:00
  • c12b2ab656 Factor out response code Matt Brubeck 2020-06-28 14:44:53 -07:00
  • 29fddfe41e Minor cleanup Matt Brubeck 2020-06-20 12:14:07 -07:00
  • b25da60e10 Make usage output friendlier Matt Brubeck 2020-06-20 11:16:41 -07:00
  • 9b260dfdd2 Link to pre-compiled binary Matt Brubeck 2020-06-20 10:53:10 -07:00
  • a20af4ad12 Version 1.2.1 Matt Brubeck 2020-06-20 10:31:02 -07:00
  • 443e83f01b Update dependencies Matt Brubeck 2020-06-20 10:32:47 -07:00
  • 95f03cf143 Never read whole file into memory Matt Brubeck 2020-06-20 10:20:56 -07:00
  • 76bbfafee5 Minor cleanup Matt Brubeck 2020-06-20 10:02:36 -07:00
  • 59c921c5d5 Switch to fork of tree_magic Matt Brubeck 2020-06-10 08:40:45 -07:00
  • c4aa71836b Update dependencies Matt Brubeck 2020-06-08 18:28:48 -07:00
  • 7899d9addb Change file extension from .gemini to .gmi Matt Brubeck 2020-06-07 08:53:32 -07:00
  • 5314e23415 Update depedencies Matt Brubeck 2020-05-22 19:13:38 -07:00
  • 2632bf14be Minor cleanup Matt Brubeck 2020-05-22 19:13:27 -07:00
  • 798506a03c Fix error message when request is too long Matt Brubeck 2020-05-22 19:08:00 -07:00
  • 7588b23fcb Switch from lazy_static to once_cell Matt Brubeck 2020-05-22 19:00:21 -07:00
  • 8e13714011 comments Matt Brubeck 2020-05-22 18:37:55 -07:00
  • cac7e394be Minor cleanup in parse_request Matt Brubeck 2020-05-22 15:26:16 -07:00
  • a049beb66b Improved request parsing. Matt Brubeck 2020-05-22 08:22:26 -07:00
  • 039057b8db Improve request parsing Matt Brubeck 2020-05-22 08:05:14 -07:00
  • 0d872688f9 Use temporary fork of tree_magic Matt Brubeck 2020-05-21 17:05:06 -07:00
  • ce570fc8c4 Auto-detect MIME types Matt Brubeck 2020-05-21 15:28:07 -07:00
  • db5665b783 Update dependencies Matt Brubeck 2020-05-21 10:37:12 -07:00
  • 6f490876cd Check URL schemes Matt Brubeck 2020-05-21 10:25:43 -07:00
  • 3a41f40775 Redirect on URLs without trailing slash Matt Brubeck 2020-05-21 10:11:49 -07:00
  • ca85842369 Fix error response codes Matt Brubeck 2020-05-21 09:35:43 -07:00
  • eaebcb2046 Update dependencies Matt Brubeck 2020-05-20 15:34:07 -07:00
  • 2b26ed9167 README Matt Brubeck 2020-05-20 14:40:01 -07:00
  • 45d2e8cf80 Use async filesystem I/O Matt Brubeck 2020-05-20 08:40:49 -07:00
  • 73fa0e0f01 Code cleanup Matt Brubeck 2020-05-20 08:33:31 -07:00
  • 85ea736eb2 Don't panic on cannot-be-a-base URLs Matt Brubeck 2020-05-20 08:28:22 -07:00
  • 0872e3d1fe Remove unnecessary path check Matt Brubeck 2020-05-20 08:24:45 -07:00
  • b728df0ee8 Code cleanup Matt Brubeck 2020-05-20 08:18:35 -07:00
  • db0785c4b9 Use index.gemini instead of dir listings Matt Brubeck 2020-05-20 08:10:50 -07:00
  • d6cb2e831b Directory listing Matt Brubeck 2020-05-19 22:07:31 -07:00
  • 259a190a9c Command-line args Matt Brubeck 2020-05-19 21:21:13 -07:00
  • a165e8e142 Make TLS config global Matt Brubeck 2020-05-19 15:10:55 -07:00
  • 8d09b268f9 More error handling Matt Brubeck 2020-05-19 14:52:19 -07:00