This change will make it so a user who used the -remember
option on an older version of the application will be able
to use the latest version of the software without deleting
their saved config.
fixesschollz/croc#405
relates to schollz/croc#417
I was personally shocked that I could send multiple files via croc
recently, having done it purely on a whim. The existing CLI
documentation makes no mention of croc's ability to send multiple
files/folders.
This adds it.
Until now, the process of receiving a file was aborted when an
empty entry (Enter) was made. It is common under *nix that
pressing Enter without prior input of other characters selects
the default answer. This would also make the process more
fluid for croc.
In most usecases the default choice will be 'Y'/'Yes'. The only
exception is the prompt for overwriting existing files. We default
to 'N'/'No' in this prompt to prevent accidental overwriting of
files.
The changes cause the local DNS resolver to be used exclusively at
first. If this fails, the public DNS servers are queried as before.
This feature was previously requested. Merging should close#301.
Along the way, three other changes are introduced:
1. A public IPv6 DNS server was added.
2. The lookup returns the first result from a public DNS server and does
not wait for all queries to be answered.
3. In the unlikely case that no public DNS server is able to answer, an
error will be returned.