Skip to content

getUri leaks file handles when there is a cache hit #373

@brosell

Description

@brosell

We found that pac-proxy-agent is indirectly leaking file descriptors via getUri for file based file://path/to/pac.js whenever there is a cache hit (via fs.stat).

The existing code open's the file to check its stat against the cache. When there is a match, it throws an exception and never closes the handle.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions