Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Adding bind address pre-check before starting the default proxy #276

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cviaggi-actiance
Copy link

The LittleProxy code has a bug whereby when you try to bootstrap the proxy against a port that is already in use, it will fail and not cleanup it's resources. If left to run, this can eventually cause the max file descriptors to be reached.

We can't change LittleProxy but we can check to make sure port isn't already in use. In some environments it is not practical to assume the min-max ports will be reserved and unused all the time.

@ericbeland
Copy link
Contributor

I like the idea of this, generally. We are switching to mitm-proxy implementation instead of littleproxy. This might still have value in that context, but I'm not clear on that yet and haven't looked closely.

@cviaggi-actiance
Copy link
Author

cviaggi-actiance commented Dec 3, 2020 via email

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

Successfully merging this pull request may close these issues.

2 participants