summaryrefslogtreecommitdiff
path: root/rust/src/main.rs
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2016-12-17 14:59:22 +0100
committerYves Fischer <yvesf-git@xapek.org>2016-12-17 15:10:46 +0100
commita862cd6c7f3dbeeda1e88b101419616085ffa24b (patch)
treed5e861de59fead7b3994904376f074d6f686658b /rust/src/main.rs
parentb3acad41869e2ce05d53f64c7446d797ed15af50 (diff)
downloadauth-xmppmessage-a862cd6c7f3dbeeda1e88b101419616085ffa24b.tar.gz
auth-xmppmessage-a862cd6c7f3dbeeda1e88b101419616085ffa24b.zip
extend tests and workaround for status_code logging
Diffstat (limited to 'rust/src/main.rs')
-rw-r--r--rust/src/main.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/rust/src/main.rs b/rust/src/main.rs
index 22b1592..30d4f8b 100644
--- a/rust/src/main.rs
+++ b/rust/src/main.rs
@@ -87,9 +87,7 @@ fn main() {
let handler = handler.clone();
threads.push(thread::spawn(move || {
for request in server.incoming_requests() {
- let mut log = apachelog::LogEntry::start(&request);
let response = handler.call(&request);
- log.done(&response);
let _ = request.respond(response);
}
}));