docs: add comments in forwarder and todo
This commit is contained in:
parent
43b004cf6e
commit
2edc8eb79f
2 changed files with 2 additions and 0 deletions
1
TODO.md
1
TODO.md
|
|
@ -1,5 +1,6 @@
|
||||||
# TODO List
|
# TODO List
|
||||||
|
|
||||||
|
- [Try in v0.5.1 or 0.6.0] Fix strategy for `h2c` requests on forwarded requests upstream. This needs to update forwarder definition. Also, maybe forwarder would have a cache corresponding to the following task.
|
||||||
- [Try in v0.6.0] **Cache option for the response with `Cache-Control: public` header directive ([#55](https://github.com/junkurihara/rust-rpxy/issues/55))**
|
- [Try in v0.6.0] **Cache option for the response with `Cache-Control: public` header directive ([#55](https://github.com/junkurihara/rust-rpxy/issues/55))**
|
||||||
- Improvement of path matcher
|
- Improvement of path matcher
|
||||||
- More flexible option for rewriting path
|
- More flexible option for rewriting path
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@ where
|
||||||
{
|
{
|
||||||
// TODO: need `h2c` or http/2-only client separately
|
// TODO: need `h2c` or http/2-only client separately
|
||||||
inner: Client<C, B>,
|
inner: Client<C, B>,
|
||||||
|
// TODO: maybe this forwarder definition is suitable for cache handling.
|
||||||
}
|
}
|
||||||
|
|
||||||
#[async_trait]
|
#[async_trait]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue