Stefan Sundin
598b99252e
Update README.md a bit.
2024-05-16 21:16:47 -07:00
Stefan Sundin
88e08c98f1
Make examples/simple.rs
compatible with hyper v1.
2024-05-16 21:07:55 -07:00
7adb97ceaa
Fix websocket forwarding, the SocketAddr was not being properly parsed from forward_uri
2024-03-05 21:40:28 +01:00
224f7bef5a
Fix get_upstream_addr to support ipv6
2024-03-05 21:14:14 +01:00
1a9e3430dd
README update with note about this fork
2024-03-05 20:47:44 +01:00
8164878b7c
Fix websocket proxying
2024-03-05 20:40:55 +01:00
1dc4618994
Make info logs into debugs
2024-02-28 16:51:10 +01:00
5fe9e29ae4
Fix typo in logs
2024-02-28 16:42:08 +01:00
29ea682d8f
Don't panic on upgrade errors
2024-02-28 16:30:08 +01:00
907ea5b7f4
Upgrade to hyper 1.2.0
2024-02-27 22:34:41 +01:00
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.
2024-01-14 17:35:03 +01:00
somehowchris
e73a76600c
feat: include README.md inside mod doc
2022-07-29 09:32:49 -03:00
Christof Weickhardt
102d50a024
chore: update benches
2022-06-11 15:21:54 -03:00
chesedo
a4deffef77
tests: refactor uris
2022-05-21 14:49:16 -03:00
chesedo
16ce317c7e
tests: add more upgrade tests
2022-05-21 14:49:16 -03:00
chesedo
87f1ed675a
refactor: improve flow
2022-05-21 14:49:16 -03:00
chesedo
ae854b395f
bug: handle space in connection header correctly
2022-05-21 14:49:16 -03:00
chesedo
605dba0521
refactor: trim down tokio
2022-05-21 14:49:16 -03:00
chesedo
c3d2183195
refactor: simplify
2022-05-21 14:49:16 -03:00
chesedo
d4fdbf2a2e
feat: ws support
2022-05-21 14:49:16 -03:00
chesedo
20dbf00931
tests: ws
2022-05-21 14:49:16 -03:00
Christof Weickhardt
96a398de85
feat: static client ( #27 )
...
* feat: static client
* feat: client as input
2022-05-01 15:36:09 -03:00
Christof Weickhardt
537484122d
feat: basic tracing
2022-04-20 22:29:30 -03:00
Christof Weickhardt
48ccbc1099
feat: update ci
2022-04-20 22:26:53 -03:00
Felipe Noronha
e52cb8f844
moving code around
2022-04-13 22:58:56 -03:00
Felipe Noronha
6a8d181b77
fix clippy warns
2022-04-13 22:50:58 -03:00
Felipe Noronha
359aa4060b
fmt
2022-04-13 22:46:07 -03:00
Christof Weickhardt
2563ad1289
feat: join queries
2022-04-13 22:13:39 -03:00
Christof Weickhardt
51e2a0d05b
feat: use rustls
2022-04-13 22:13:02 -03:00
Felipe Noronha
2b5a7cae2d
fix link
2022-04-13 21:37:23 -03:00
Felipe Noronha
60b5d9c4a6
Merge branch 'master' of https://github.com/felipenoris/hyper-reverse-proxy
2022-04-13 21:30:46 -03:00
Felipe Noronha
e361e9412d
update badges
2022-04-13 21:30:41 -03:00
Felipe Noronha
527e05f768
Update main.yml
2022-04-13 21:28:10 -03:00
Felipe Noronha
d81e01c2ef
fix clippy warning
2022-04-13 21:21:30 -03:00
Felipe Noronha
d41279a2a2
fix clippy warns
2022-04-13 21:16:09 -03:00
Felipe Noronha
6d3c35df9f
Create main.yml
2022-04-13 21:01:19 -03:00
Felipe Noronha
e30c009fa7
fix fmt
2022-04-13 20:57:27 -03:00
Felipe Noronha
5b38a9dfe8
fix tests
2022-04-13 20:55:34 -03:00
Christof Weickhardt
cb3127cc1d
feat: udpate hop headers list
2022-04-13 19:56:16 -03:00
Christof Weickhardt
bf833a765e
perf: remove headers inline
2022-04-13 19:56:16 -03:00
Christof Weickhardt
f9db949910
test: adding benchmarks ( #26 )
2022-04-12 23:29:52 -03:00
Christof Weickhardt
c25de2e313
perf: remove format for X-Forwarded-For header ( #25 )
2022-04-12 23:25:39 -03:00
Christof Weickhardt
4b3e3ffda1
fix: host header not set on responses ( #23 )
2022-04-12 23:23:09 -03:00
Bruno Thomas
b7f0bf9d81
test: add basic parallel unit tests ( #17 )
2022-04-07 09:31:27 -03:00
Christof Weickhardt
16f235b9fd
feat: declare headers globally ( #20 )
2022-04-03 14:20:17 -03:00
Christof Weickhardt
72faf73f4a
fix: remove format from uri building ( #21 )
2022-04-03 14:19:39 -03:00
Christof Weickhardt
df087ff55e
feat: rewrite host header ( #19 )
2022-03-20 20:39:47 -03:00
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
2022-03-17 23:05:07 -03:00
Felipe Noronha
4dee11dc35
mark next release iteration v0.5.2-dev
2022-03-12 14:04:16 -03:00
Felipe Noronha
8238393993
Tag v0.5.1
2022-03-12 14:02:31 -03:00