Skip to content

Commit 580a94b

Browse files
committed
Update changelog, version bump, add debug message when output thread finishes
1 parent 8ef8884 commit 580a94b

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog
22

3+
## 1.4.1 - 2019-07-08
4+
5+
### Added
6+
* Catch SIGINT fron Ctrl+C and save any output files specified (#30)
7+
* Hide results with specific lengths, or ranges of lengths
8+
9+
### Changed
10+
11+
### Fixed
12+
* Dirble now runs correctly when there is no TTY to attach to
13+
314
## 1.4.0 - 2019-07-05
415

516
### Added
@@ -117,4 +128,4 @@
117128
* Scraping the urls from listable directories
118129
* Option to force a full scan of listable directories
119130
* Non-recursive mode
120-
* Showing or hiding .ht files that return 403 responses
131+
* Showing or hiding .ht files that return 403 responses

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dirble"
3-
version = "1.4.0"
3+
version = "1.4.1"
44
authors = ["Izzy Whistlecroft <izzy.whistlecroft@nccgroup.com>"]
55
edition = "2018"
66
build = "build.rs"

src/output_thread.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ use std::{
2222
use crate::request;
2323
use crate::output;
2424
use simplelog::LevelFilter;
25+
use log::debug;
2526

2627
pub fn output_thread(rx: mpsc::Receiver<request::RequestResponse>,
2728
global_opts: Arc<arg_parse::GlobalOpts>, file_handles: output::FileHandles)
@@ -31,6 +32,7 @@ pub fn output_thread(rx: mpsc::Receiver<request::RequestResponse>,
3132
loop {
3233
if let Ok(response) = rx.try_recv() {
3334
if response.url == "MAIN ENDING" {
35+
debug!("Received signal to end, generating the report");
3436
break;
3537
}
3638
if global_opts.log_level >= LevelFilter::Info {

0 commit comments

Comments
 (0)