netrice

Results 5 comments of netrice

> I think the `requestBody` needs to be read in `async fn request_body_filter(` method. https://github.com/cloudflare/pingora/blob/main/pingora-proxy/src/proxy_trait.rs#L94 If the authentication is handled in request_body_filter, it won't be possible to block the request...

> I think the `requestBody` needs to be read in `async fn request_body_filter(` method. https://github.com/cloudflare/pingora/blob/main/pingora-proxy/src/proxy_trait.rs#L94 If the validation logic is handled in request_body_filter, the client's request headers will be forwarded...

I have a simpler like this, execute `curl -X POST -H "auth: 37dec66febcdb7e0e80a32565d7a0ac6662d079f4db21a4609e3631176cbd680" -H "uid: uid1" "http://127.0.0.1:8080/" -d "abcd" -v`, the upstream can receive the request headers but not the...

> I was facing the same situation, but found that the following code can successfully process the request while getting the request body. > > If the problem has been...

This does seem to be an issue, but would it be feasible to increase the retry buffer to a sufficiently large value? In my case, the body is relatively small...