agate

Simple gemini server for static files
git clone https://github.com/mbrubeck/agate.git
Log | Files | Refs | README

commit 1059f8b94a8951975f6a9f8c11571081cd281a97
parent 9925d927a45b31f6a6d2e7ff7f118ad8f83cc145
Author: Johann150 <johann.galle@protonmail.com>
Date:   Thu, 25 Feb 2021 14:14:08 +0100

never log remote port

This information is basically useless anyway and fills logs needlessly.
Because this is not necessarily true for the local port because multiple ports
may be selected for hosting, logging for the local socket address is unchanged.

Diffstat:
Msrc/main.rs | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/main.rs b/src/main.rs @@ -233,6 +233,7 @@ impl RequestHandle { stream .peer_addr() .expect("could not get peer address") + .ip() .to_string() } else { // Do not log IP address, but something else so columns still line up.