wip: feat: change request body from either to explicit enum
This commit is contained in:
parent
008b62a925
commit
1c18f3836a
8 changed files with 45 additions and 41 deletions
2
rpxy-lib/src/forwarder/cache/cache_main.rs
vendored
2
rpxy-lib/src/forwarder/cache/cache_main.rs
vendored
|
|
@ -118,7 +118,7 @@ impl RpxyCache {
|
|||
.map(|f| {
|
||||
if f.is_data() {
|
||||
let data_bytes = f.data_ref().unwrap().clone();
|
||||
println!("ddddde");
|
||||
debug!("cache data bytes of {} bytes", data_bytes.len())
|
||||
// TODO: cache data bytes as file or on memory
|
||||
// fileにするかmemoryにするかの判断はある程度までバッファしてやってという手を使うことになる。途中までキャッシュしたやつはどうするかとかいう判断も必要。
|
||||
// ファイルとObjectのbindをどうやってするか
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue