Ver código fonte

don't print request unless tracing

master
Jonathan Cobb 4 anos atrás
pai
commit
7cfa7560e8
1 arquivos alterados com 2 adições e 1 exclusões
  1. +2
    -1
      src/proxy.rs

+ 2
- 1
src/proxy.rs Ver arquivo

@@ -121,7 +121,8 @@ async fn proxy(client: Client<HttpsConnector<HttpConnector<CacheResolver>>>,

let host = host.unwrap();
let ip_string = resolve_with_cache(host, &resolver, resolver_cache).await;
info!("proxy: req(host {} resolved to: {}): {:?}", host, ip_string, req);
info!("proxy: host {} resolved to: {}", host, ip_string);
trace!("proxy: request is {:?}", req);

if needs_static_route(&ip_string) {
if !create_static_route(&gateway, &ip_string) {


Carregando…
Cancelar
Salvar