Closed starpit closed 7 years ago
Thank you for bringing this to our attention, we are currently looking into a solution for this.
here is a test. if you run test.sh 5
you get a PASS (exit code 0), and if you run for any value greater than 10*1024, you get FAIL (exit code 1)
@starpit This was happening because the default in-memory buffer size for nginx is set to just 8K. I've increased the buffer size to 1M to fix the problem in the PR above.
thanks @alexsong93 for the quick fix!!
is the fix in production? [edit: never mind, i see the PR now :) ]
has this fix been promoted to production? i'm still seeing the >10k squashing effect. thanks
@mhamann Have the new changes made their way to the prod/ys1 stacks?
POST bodies to an openwhisk gateway route are squashed for attachments larger than 10 kilobytes. There is no error, the payload is silently squashed. Worse, the entire payload is squashed if any part of it results in the payload as a whole exceeding 10 kilobytes.
The underlying OpenWhisk action is still invoked, but with an empty payload.