Commit 118b61a8 authored by Yuanle Song's avatar Yuanle Song
Browse files

v1.4.0.0 rd-api listen host defaults to ::

this allow rd-api to work on both ipv4 and ipv6 network by default.
when using 0.0.0.0, it won't work on ipv6 network.
parent 0780ea37
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ Usage: rd-api [-h|--host HOST] [-p|--port PORT] [--redis-host REDIS_HOST]
    stop download anytime, and continue later by running the same command again.

Available options:
  -h,--host HOST           http listen host (default: "0.0.0.0")
  -h,--host HOST           http listen host (default: "::")
  -p,--port PORT           http listen port (default: 8082)
  --redis-host REDIS_HOST  redis host (default: "127.0.0.1")
  --redis-port REDIS_PORT  redis port (default: 6379)
+1 −1
Original line number Diff line number Diff line
module RD.CliVersion (cliVersion) where

cliVersion :: String
cliVersion = "1.3.0.0"
cliVersion = "1.4.0.0"
+4 −4
Original line number Diff line number Diff line
* COMMENT -*- mode: org -*-
#+Date: 2018-05-04
Time-stamp: <2022-03-16>
Time-stamp: <2023-10-18>
#+STARTUP: content
* notes                                                               :entry:
** 2022-03-14 project dir structure
@@ -20,9 +20,9 @@ Time-stamp: <2022-03-16>
  stack build --test --pedantic
  stack exec hlint -- -g
- update README file. add ChangeLog entry on *README.rst
  README.md
  rd-api-README.rst
  rd-README.rst
  ./README.md
  ./pypi/rd-api/README.rst
  ./pypi/rd-client/README.rst
- build wheel and test it in production server
  make dist -C pypi

+4 −0
Original line number Diff line number Diff line
@@ -82,6 +82,10 @@ https://gitlab.emacsos.com/sylecn/reliable-download
ChangeLog
---------

* v1.4.0.0 2023-10-18

  - feature: rd-api listen host defaults to ::, so it works on both ipv4 and ipv6.

* v1.1.3.0 2022-03-14

  - bugfix: revised logging messages. rd-api supports --verbose option. debug msg is not shown by default.
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ argParser = RDConfig
      <> short 'h'
      <> help "http listen host"
      <> showDefault
      <> value "0.0.0.0"
      <> value "::"
      <> metavar "HOST" )
  <*> option auto
      (  long "port"