Skip to content

Commit

Permalink
Bump version.
Browse files Browse the repository at this point in the history
  • Loading branch information
Edu4rdSHL committed Oct 7, 2020
1 parent 7dc76e2 commit e3a30a6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fhc"
version = "0.3.0"
version = "0.4.0"
authors = ["Eduard Tolosa <[email protected]>"]
edition = "2018"
description = "Fast HTTP Checker."
Expand Down
9 changes: 6 additions & 3 deletions fhc.1
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
.TH FHC "1" "October 2020" "FHC 0.3.0" "User Commands"
.TH FHC "1" "October 2020" "FHC 0.4.0" "User Commands"
.SH NAME
FHC \- manual page for FHC 0.3.0
FHC \- manual page for FHC 0.4.0
.SH DESCRIPTION
FHC 0.3.0
FHC 0.4.0
Eduard Tolosa <[email protected]>
Fast HTTP Checker.
.SS "USAGE:"
Expand All @@ -29,6 +29,9 @@ Show URLs with 500\-599 response codes only.
\fB\-h\fR, \fB\-\-help\fR
Prints help information
.TP
\fB\-s\fR, \fB\-\-show\-codes\fR
Show status codes for discovered hosts.
.TP
\fB\-V\fR, \fB\-\-version\fR
Prints version information
.SS "OPTIONS:"
Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {

futures::stream::iter(hosts.into_iter().map(|host| {
// HTTP/HTTP URLs
let https_url = format!("https://{}/", host);
let http_url = format!("http://{}/", host);
let https_url = format!("https://{}", host);
let http_url = format!("http://{}", host);
// Create futures
let https_send_fut = client.get(&https_url).send();
let http_send_fut = client.get(&http_url).send();
Expand Down

0 comments on commit e3a30a6

Please sign in to comment.