Brian Picciano
7adb97ceaa
Fix websocket forwarding, the SocketAddr was not being properly parsed from forward_uri
3 months ago
Brian Picciano
224f7bef5a
Fix get_upstream_addr to support ipv6
3 months ago
Brian Picciano
8164878b7c
Fix websocket proxying
3 months ago
Brian Picciano
1dc4618994
Make info logs into debugs
3 months ago
Brian Picciano
5fe9e29ae4
Fix typo in logs
3 months ago
Brian Picciano
29ea682d8f
Don't panic on upgrade errors
3 months ago
Brian Picciano
907ea5b7f4
Upgrade to hyper 1.2.0
3 months ago
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
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
c3d2183195
refactor: simplify
2 years ago
chesedo
d4fdbf2a2e
feat: ws support
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
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
d81e01c2ef
fix clippy warning
2 years ago
Felipe Noronha
d41279a2a2
fix clippy warns
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
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
ee55e7d39f
derive debug for ProxyError
2 years ago
Felipe Noronha
43e2dff325
lint
2 years ago
Felipe Noronha
cd9a5053eb
lint
2 years ago
Felipe Noronha
3f341d9337
update docs
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
f8cd92c507
chore: upgrade hyper/tokio libraries
2 years ago
Jan Kantert
d109fcbd62
remove futures dependency
4 years ago
Jan Kantert
55103945a7
add error handling
4 years ago
Jan Kantert
d838516387
port lib to hyper 0.13 and future 0.3
4 years ago
Felipe Noronha
b53642da26
use edition 2018. bump dependencies. ( #5 )
5 years ago
Felipe Noronha
48ed13e6ae
edit comment
5 years ago
Felipe Noronha
aa8947a614
fix tests
5 years ago
Felipe Noronha
0b35f7aa19
Rewrite docs.
5 years ago
Felipe Noronha
fed9dd66b6
refactoring
6 years ago
Felipe Noronha
692d287ee4
updates to hyper 0.12.16
6 years ago