- Apr 25, 2024
-
-
Yuanle Song authored
all blocks are fetched.
-
- Apr 08, 2024
-
-
Yuanle Song authored
since I used setCurrentDirectory when serving static site, combine webroot and user requested path will result in File Not Found error. should always just use relative path or expand it to abs path. I choose to expand abs path. This allow skip calculate sha1sum when the same file is accessed via different webroot dir.
-
Yuanle Song authored
-
Yuanle Song authored
resolver: lts-20.26 this includes newer http-client which has the fix.
-
Yuanle Song authored
-
Yuanle Song authored
previously the regex capture didn't work when URL includes such string. now I read path from http request directly, skip the regex capture. - log msg is refined to print unicode string better on console.
-
- Apr 07, 2024
-
-
Yuanle Song authored
-
- Mar 15, 2022
-
-
Yuanle Song authored
- use proper module name hierarchy.
-
Yuanle Song authored
- rd-api, add version info in GET /rd/ - update doc
-
- Mar 14, 2022
-
-
Yuanle Song authored
This option allows combine big file when disk space is low. it's not enabled by default to allow easy redownload/retry.
-
Yuanle Song authored
- switched to tinylog, it supports log level - reorganize files to minimize code recompilation - added --verbose for rd-api - make FileStatus a data type - update doc
-
- Mar 11, 2022
-
-
Yuanle Song authored
-
- Feb 28, 2019
-
-
Yuanle Song authored
-
- May 10, 2018
-
-
Yuanle Song authored
For port number, if parse fail, it will exit on start up. previously env var with parse error are ignored silently.
-
Yuanle Song authored
- should use strOption for string parameters. - also fix rd-api Main, should use cli args parsed result as base config in runtimeConfig. - rd-api now support env variables for all params.
-
Yuanle Song authored
it will act like a static file server
-
Yuanle Song authored
after decimal point
-
- May 09, 2018
-
-
Yuanle Song authored
- moved version string to CliVersion module - update pypi Makefile to check README.rst syntax before creating wheel
-
Yuanle Song authored
-
Yuanle Song authored
tinylog is based on fast-logger and supports log levels. I need log level support in rd client, for the --verbose option.
-
Yuanle Song authored
- use fast-logger to do logging - use ExceptT to do early return - extract getRdHandler and DB functions, code is more clean now
-
- May 08, 2018
-
-
Yuanle Song authored
code removed from this repo.
-
Yuanle Song authored
dropped async, used self implemented Task.
-
Yuanle Song authored
add help doc for rd-api
-
Yuanle Song authored
-
- May 07, 2018
-
-
Yuanle Song authored
- update "debug opts" to use putStrLn. no stupid quotes around string. - add retry support for fetchBlockFromHttp (--block-max-retry) - check http status code expect 200 on GET /rd/file. expect 206 on GET /file with Range header. - handle http exceptions - handle IOError at critical places. - on client tool, use MaybeT to do early return, avoid shifting to the right. - fix -f -v wrong option position in parser. - other small fixes.
-
Yuanle Song authored
-
Yuanle Song authored
- enable -Wall -Werror in package.yaml fix issues - support "pending" blocks. client will do incrementally download until all blocks are ready on server side and fetched to local disk. - bugfix: fileWorker missing "forever" loop. - moved genBlocks to RD.Lib
-
Yuanle Song authored
-
- May 06, 2018
-
-
Yuanle Song authored
bugfix: worker should close file when done
-
Yuanle Song authored
-
- May 05, 2018
-
-
Yuanle Song authored
-
Yuanle Song authored
-
Yuanle Song authored
-
- May 04, 2018
-
-
Yuanle Song authored
sha1sum works fine with lazy ByteString.
-