add request header override option

This commit is contained in:
Jun Kurihara 2022-07-06 17:40:45 +09:00
commit b0a9b6b5f8
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
10 changed files with 104 additions and 18 deletions

View file

@ -2,7 +2,6 @@
#[global_allocator]
static GLOBAL: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;
mod backend;
mod config;
mod constants;
mod error;
@ -11,13 +10,12 @@ mod log;
mod proxy;
use crate::{
backend::{Backend, Backends},
config::parse_opts,
constants::*,
error::*,
globals::*,
log::*,
proxy::Proxy,
proxy::{Backend, Backends, Proxy},
};
use futures::future::select_all;
use hyper::Client;