Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

use curl instead of wget for maximal portability #150

Merged
merged 1 commit into from
Jul 18, 2015

Conversation

adlai
Copy link
Contributor

@adlai adlai commented Jul 12, 2015

@tailsjoin
Copy link
Contributor

Agreed.

@chris-belcher
Copy link
Collaborator

Agree, untested acknowledge

That commit code probably isnt portable to windows which doesnt have /dev/null

edit: although looks like the -s options will mean the -o /dev/null is unnecessary.

@adlai
Copy link
Contributor Author

adlai commented Jul 13, 2015

-s silences the progress updates, but curl still outputs the headers (from -I) to stdout. If portability trumps spam, we could leave them, and let each person customize complete silencing for their platform if necessary. I've also added the same timeout as the wget code.

@chris-belcher
Copy link
Collaborator

curl: option --connect-timeout: expected a proper numerical parameter

Instead, --connect-timeout 1 seems to work. Trying this tonight.

@chris-belcher
Copy link
Collaborator

Seems to work well when timeout changed to an integer.

chris-belcher added a commit that referenced this pull request Jul 18, 2015
use curl instead of wget for maximal portability
@chris-belcher chris-belcher merged commit b994e10 into JoinMarket-Org:master Jul 18, 2015
@chris-belcher
Copy link
Collaborator

edited the wiki to change wget to curl

ghtdak pushed a commit to ghtdak/joinmarket that referenced this pull request Oct 1, 2015
use curl instead of wget for maximal portability
ghtdak pushed a commit to ghtdak/joinmarket that referenced this pull request Oct 4, 2015
use curl instead of wget for maximal portability
ghtdak pushed a commit to ghtdak/joinmarket that referenced this pull request Dec 4, 2015
use curl instead of wget for maximal portability
[gitreformat yapf-ify (github/ghtdak) on Fri Dec  4 04:50:05 2015]
[from commit: b994e10]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants