Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

moving command line error to infobar and fixing windows port range issues #673

Merged

Conversation

g-217
Copy link
Contributor

@g-217 g-217 commented Nov 20, 2019

Windows was allowing Brackets to open a remote debugging port on any port in the range [1,65534], which was troubling.
So, have started setting settings.remote_debugging_port=65535 in case of ports outside the interval [1024,65534].
Which stops Brackets from opening a reserved port and this stops error thrown in bind() on Linux and Mac.

Copy link
Collaborator

@vickramdhawal vickramdhawal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

appshell/appshell_extensions.cpp Outdated Show resolved Hide resolved
appshell/cefclient.cpp Show resolved Hide resolved
@g-217
Copy link
Contributor Author

g-217 commented Nov 21, 2019

Reference to setting remote-debugging-port to 65535 to disable remote debugging:
CEF 2785
CEF 2623
CEF 2704

And CEF has fixed this issue of not validating reserved ports, interval [0,1023], in later branches:
CEF 3202

@g-217
Copy link
Contributor Author

g-217 commented Nov 21, 2019

@shubhsnov renamed the error string variable, as suggested.

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.

3 participants