not sure why you're not reusing the callback without guarding the content-length here.

   receive_request_data(Req, LenLeft) 

could return a {more, ...} if the multipart can't be parsed.