Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

koa-body will exhaust available cache directory space #196

Open
mvhz81 opened this issue Jun 24, 2021 · 0 comments
Open

koa-body will exhaust available cache directory space #196

mvhz81 opened this issue Jun 24, 2021 · 0 comments

Comments

@mvhz81
Copy link

mvhz81 commented Jun 24, 2021

Problem/Feature Request Summary

koa-body parse multipart/form-data request will exhaust available cache directory space

Environment Information

koa-body <= 4.20

Current Behavior

It will not delete cache file in cache directory
koa-body will parse all multipart/form-data request , even you not accept POST request or rquest uri not in route。so it is easy to happen。

Steps to Reproduce

app.use(koaBody({ multipart: true }));
routes(app);

Expected Behavior

auto delete cache file

Possible Solution

I have no idea

Context (Environment)

not exhaust available cache directory space

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant