Replies: 2 comments 20 replies
-
I did more testing and the middleware reports the Thus something is not ok with the middleware. Unfortunately I don't understand this part of the code. |
Beta Was this translation helpful? Give feedback.
-
This was supposed to be fixed in #53
For some of the values such as
Can you set |
Beta Was this translation helpful? Give feedback.
-
There are 2 things I came across that seemed a bit strange to me.
I set the value to 50MB, because sometimes log files even in compressed form can be quite large.
It happend that I had a 710MB compressed log file and forgot that I had the limit in place.
It uploaded the entire 710MB only to tell me that it exceeded the content length limit.
This is just an extreme case and probably won't happen that often, but I think the limit should be evaluated before any transfer happens.
Afaik the content length is part of the header for POST requests so it should be fairly easy to test for length compliance.
As for 2, I am not really using the feature, but I added a config value and changed another and neither was picked up after the "hot reload" refresh time lapsed. I looked at the code, but I didn't fully understand how the original config struct was actually changed/replaced. It only changes a cloned version unless I missed something. I would have to do more tests, but maybe somebody is using the feature and has some additional input.
Beta Was this translation helpful? Give feedback.
All reactions