Matthias Adler

Results 6 comments of Matthias Adler

@noticeMaker Thanks! Can you send the link to the repo (Didn't find it right now). I'll add it asap.

@zhfahan77 Have you tried attaching an error-handler to your app (I'm assuming you're using express-js)? Have a look at https://gist.github.com/macedigital/090fe2b244728b089ea60fa25154a352. Check out the [express-js error-handling documentation](https://expressjs.com/en/guide/error-handling.html). Inside the error-handler you'll...

Yes, `raw-body` integration is planned (soon-ish). The only thing I'm not 100% sure of is how the option passing should work: - use a flat-map, pass `raw-body` and `xml2js` options...

I created a gist https://gist.github.com/macedigital/3799eec3c25a29692a25ee021457b171, so this alternative solution doesn't get lost. If time permits, support for limiting body size will arrive soon.

Thank you @bootc for picking this up and providing a solution :+1: It seems it might trace down to a change introduced here https://github.com/zalando/patroni/commit/d46ca88e6bb4b4788ec86689026c2d2e4da68c79. We'll aim to merge the fix...

Thank you @bootc for your contribution!