Change --profile to take a listen address (or many). #450

Merged
merged 3 commits into from Dec 12, 2016

Projects

None yet

3 participants

@jrick
Member
jrick commented Dec 9, 2016

This changes the --profile option from taking just a port and opening
the HTTP profiler on all interfaces, to requiring a listen address.

The old behavior can be restored by using ':port' instead of 'port'.

Fixes #404.

jrick added some commits Dec 9, 2016
@jrick jrick Change --profile to take a listen address (or many).
This changes the --profile option from taking just a port and opening
the HTTP profiler on all interfaces, to requiring a listen address.

The old behavior can be restored by using ':port' instead of 'port'.

Fixes #404.
15fddaa
@jrick jrick should discourage doing this. e770de6
@jrick jrick fatalf is totally wrong so make it a little saner e4561bb
@dajohi
dajohi approved these changes Dec 12, 2016 View changes

OK

@alexlyp

OK

@jrick jrick merged commit d9c7727 into decred:master Dec 12, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@jrick jrick deleted the jrick:profilelisteners branch Dec 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment