Update README.md

This commit is contained in:
Fufu Fang 2018-07-30 15:06:04 +01:00 committed by GitHub
parent f94c5cd225
commit cecd26d2ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions

View File

@ -21,10 +21,18 @@ Then you need to check if ``libssl1.0-dev`` had been installed properly. If you
## Usage
./httpdirfs -f $URL $YOUR_MOUNT_POINT
./httpdirfs -f $URL $YOUR_MOUNT_POINT
An example URL would be [Debian CD Image Server](https://cdimage.debian.org/debian-cd/). The ``-f`` flag keeps the program in the foreground, which is useful for monitoring which URL the filesystem is visiting.
Other useful options:
-u --user HTTP authentication username
-p --password HTTP authentication password
-P --proxy Proxy for libcurl, for more details refer to
https://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html
## SSL Support
If you run the program in the foreground, when it starts up, it will output the SSL engine version string. Please verify that your libcurl is linked against OpenSSL, as the pthread mutex functions are designed for OpenSSL.