Brian Picciano
9f4b94724f
Do not set Host header in proxied request
...
If there is a reverse proxy downstream of hyper-reverse-proxy, and
the forward_url is something like `http://127.0.0.1:4333 `, with the
expectation that the downstream RP will handle the request further, then
the request ends up with `Host: 127.0.0.1` as a header, which is
incorrect. It's seemingly impossible to override this behavior.
Removing the setting of the Host header to fix this, as it's not
necessary anyway.
4 months ago
somehowchris
e73a76600c
feat: include README.md inside mod doc
2 years ago
Christof Weickhardt
102d50a024
chore: update benches
2 years ago
chesedo
a4deffef77
tests: refactor uris
2 years ago
chesedo
16ce317c7e
tests: add more upgrade tests
2 years ago
chesedo
87f1ed675a
refactor: improve flow
2 years ago
chesedo
ae854b395f
bug: handle space in connection header correctly
2 years ago
chesedo
605dba0521
refactor: trim down tokio
2 years ago
chesedo
c3d2183195
refactor: simplify
2 years ago
chesedo
d4fdbf2a2e
feat: ws support
2 years ago
chesedo
20dbf00931
tests: ws
2 years ago
Christof Weickhardt
96a398de85
feat: static client ( #27 )
...
* feat: static client
* feat: client as input
2 years ago
Christof Weickhardt
537484122d
feat: basic tracing
2 years ago
Christof Weickhardt
48ccbc1099
feat: update ci
2 years ago
Felipe Noronha
e52cb8f844
moving code around
2 years ago
Felipe Noronha
6a8d181b77
fix clippy warns
2 years ago
Felipe Noronha
359aa4060b
fmt
2 years ago
Christof Weickhardt
2563ad1289
feat: join queries
2 years ago
Christof Weickhardt
51e2a0d05b
feat: use rustls
2 years ago
Felipe Noronha
2b5a7cae2d
fix link
2 years ago
Felipe Noronha
60b5d9c4a6
Merge branch 'master' of https://github.com/felipenoris/hyper-reverse-proxy
2 years ago
Felipe Noronha
e361e9412d
update badges
2 years ago
Felipe Noronha
527e05f768
Update main.yml
2 years ago
Felipe Noronha
d81e01c2ef
fix clippy warning
2 years ago
Felipe Noronha
d41279a2a2
fix clippy warns
2 years ago
Felipe Noronha
6d3c35df9f
Create main.yml
2 years ago
Felipe Noronha
e30c009fa7
fix fmt
2 years ago
Felipe Noronha
5b38a9dfe8
fix tests
2 years ago
Christof Weickhardt
cb3127cc1d
feat: udpate hop headers list
2 years ago
Christof Weickhardt
bf833a765e
perf: remove headers inline
2 years ago
Christof Weickhardt
f9db949910
test: adding benchmarks ( #26 )
2 years ago
Christof Weickhardt
c25de2e313
perf: remove format for X-Forwarded-For header ( #25 )
2 years ago
Christof Weickhardt
4b3e3ffda1
fix: host header not set on responses ( #23 )
2 years ago
Bruno Thomas
b7f0bf9d81
test: add basic parallel unit tests ( #17 )
2 years ago
Christof Weickhardt
16f235b9fd
feat: declare headers globally ( #20 )
2 years ago
Christof Weickhardt
72faf73f4a
fix: remove format from uri building ( #21 )
2 years ago
Christof Weickhardt
df087ff55e
feat: rewrite host header ( #19 )
2 years ago
Casey Primozic
8e4efa3c10
Add support for connecting to HTTPS servers ( #6 )
...
* Add the `https` feature which condionally compiles the `hyper-tls` crate
* Abstract HTTP(S) client building to a helper function with two versions: One which uses the `hyper-tls` `HttpsConnector` connector, and one which uses the default built-in `HttpConnector`
* Update documentation on how to enable HTTPS support
2 years ago
Felipe Noronha
4dee11dc35
mark next release iteration v0.5.2-dev
2 years ago
Felipe Noronha
8238393993
Tag v0.5.1
2 years ago
Felipe Noronha
ee55e7d39f
derive debug for ProxyError
2 years ago
Felipe Noronha
43e2dff325
lint
2 years ago
Felipe Noronha
96592ab0f9
mark next release iteration v0.5.1-dev
2 years ago
Felipe Noronha
cd9a5053eb
lint
2 years ago
Felipe Noronha
3f341d9337
update docs
2 years ago
Felipe Noronha
eb2aceef09
update README
2 years ago
Bruno Thomas
6e9aa4501f
upgrade libraries ( #16 )
...
* chore: upgrade hyper/tokio libraries
* updates tokio reactor version
* doc: updates documentation in README and rust code doc
2 years ago
Bruno Thomas
a01c1381b7
updates tokio reactor version
2 years ago
Bruno Thomas
f8cd92c507
chore: upgrade hyper/tokio libraries
2 years ago
Felipe Noronha
ff09ac01a1
Update README.md
3 years ago