Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

randomize socket suffix #120

Merged
merged 2 commits into from
Feb 9, 2018

Conversation

y13i
Copy link
Contributor

@y13i y13i commented Feb 8, 2018

Issue #, if available:

#109, #5

Description of changes:

Replaced socketPathSuffix with random value (generated by getRandomValue()).

Currently, it is a number that increments when EADDRINUSE occurs. This implementation may cause a lot of warnings when combined with specific libraries such as serverless-offline.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@brettstack
Copy link
Collaborator

Thanks! Could you fix the getSocketPath test?

@y13i
Copy link
Contributor Author

y13i commented Feb 9, 2018

@brettstack Thanks for the review! I pushed the fixed test just now.

@brettstack brettstack self-assigned this Feb 9, 2018
@brettstack brettstack merged commit f747eca into CodeGenieApp:master Feb 9, 2018
brettstack pushed a commit that referenced this pull request Feb 9, 2018
<a name="3.1.3"></a>
## [3.1.3](v3.1.2...v3.1.3) (2018-02-09)

### Bug Fixes

* randomize socket suffix ([#120](#120)) ([f747eca](f747eca))
@y13i y13i deleted the feat-randomized-sock-suffix branch June 19, 2018 03:22
OneDev0411 added a commit to OneDev0411/serverless-express that referenced this pull request Mar 16, 2023
<a name="3.1.3"></a>
## [3.1.3](CodeGenieApp/serverless-express@v3.1.2...v3.1.3) (2018-02-09)

### Bug Fixes

* randomize socket suffix ([#120](CodeGenieApp/serverless-express#120)) ([f747eca](CodeGenieApp/serverless-express@f747eca))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants