zoomoid / strapi-provider-upload-aws-s3-advanced

A partial fork of https://github.com/strapi/strapi to extend the S3 Upload Provider to support path prefixes inside a bucket
MIT License
27 stars 23 forks source link

added support for uploading stream instead of buffer #10

Closed giu1io closed 2 years ago

giu1io commented 2 years ago

Hi,

Strapi v4.1.1 added support for uploading files using Stream instead of Buffer. This fixes a longstanding memory leak issue

I have made the same modifications that have been made to the original S3 provider in Strapi. (Link to commit)

giu1io commented 2 years ago

Yes, I did test it with Strapi 4.1.0 and Strapi 4.1.2 (pre and post the Strapi memory leak fix). Works on both versions 😃

jpizzle34 commented 2 years ago

Hi, do you know if this is backwards compatible for Strapi v3?

lukeevangraham commented 2 years ago

This problem persists for me in v4.3.4