35 Commits (master)

Author SHA1 Message Date
Josh Leeb-du Toit f6155006c5 Simplify Config::load 3 years ago
Alexey Yerin 6fe4a2d026 Cancel request on invalid Unicode character 3 years ago
Alexey Yerin 9c83ef849b Extract I/O related functions to "io" module 3 years ago
Alexey Yerin 025dda6847 Infer gemini:// scheme in the URL 4 years ago
Alexey Yerin 6a1979cb12 Nicer logs and logger module 4 years ago
Alexey Yerin a1e82d5efe Trim 0x0 characters & display error message 4 years ago
Josh Leeb-du Toit dc61ecb6af Return TaurusError when failing to parse GeminiRequest 4 years ago
Josh Leeb-du Toit 0b222e9639 Add TaurusResult type alias 4 years ago
Alexey Yerin be28fe5d0e Use to_string_lossy on possibly non-Unicode inputs 4 years ago
Josh Leeb-du Toit 8a83095654 Impl From<native_tls::Error> to TaurusError::InvalidCertificate 4 years ago
Alexey Yerin 80455fe1e5 Do not duplicate defaults 4 years ago
Garrit Franke 17a0ed06f8 Add default value to arg 4 years ago
Alexey Yerin 46d6cd2386 Better error handling with enums 4 years ago
Alexey Yerin 38933ba333 Prevent memory leaks 4 years ago
Alexey Yerin 4e2ddb2e16 MIME type detection 4 years ago
Garrit Franke bea7868ebf Fix clippy warnings 4 years ago
Garrit Franke 438c975d9e Refactor responses 4 years ago
Garrit Franke e5548e02e9 Fix typo 4 years ago
Alexey Yerin d771fbb32c Remove URL from 51 error to prevent path leaks 4 years ago
Alexey Yerin c036c3ede3 Send index.gmi instead of redirecting 4 years ago
Alexey Yerin 2291c934c3 -c/--config CLI option 4 years ago
Alexey Yerin 0dcc450ffc Configuration file 4 years ago
Alexey Yerin b55fd013ff Fix redirects for subdirectories with / at the end 4 years ago
Alexey Yerin 8b52ea5b6a Fall back to index.gmi, more modular code 4 years ago
Alexey Yerin 14763d6391 Fix arbitrary read from file system 4 years ago
Garrit Franke b4cc0e1314 Refactor geminiresponse 4 years ago
Garrit Franke 95f989e2b2 Extract Gemini structs to file 4 years ago
Garrit Franke e43ea21b4b Refactor GeminiRequest 4 years ago
Garrit Franke 89b0dde0b2 Remove dead code 4 years ago
Garrit Franke 0786061c24 Serve files 4 years ago
Garrit Franke 15b420175d Add TLS 4 years ago
Garrit Franke 8661c5e564 Implement response header 4 years ago
Garrit Franke d85229ae1e Interpret requests 4 years ago
Garrit Franke a543f8a42e Add simple server 4 years ago
Garrit Franke 038feffd78 Initial commit 4 years ago