Thanks for this Bruno. I can't see an easy solution in there, but we've solved the problem anyway by modifying how the BodyHandler code decides to collect from the buffer.
// was if (!isMultipart /* && !isUrlEncoded */) {
if (!handleFileUploads) {
if (body == null) {
initBodyBuffer();
}
body.appendBuffer(buff);
}
Perhaps the vertx team could add an appropriate flag in future versions of BodyHandler?