Skip to content

Invalid dest causes runaway node process #139

@roncli

Description

@roncli

Given the following code:

var express = require("express"),
    multer = require("multer"),
    app = express();

app.use(multer({dest: "h:\\drive\\does\\not\\exist"}));

I would expect an exception to be thrown stating that the destination does not exist.

Instead, the node process goes to 100% CPU and starts a runaway memory leak that very quickly locks up the system if not killed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions