Skip to content

Conversation

tylerbrandt
Copy link
Contributor

No description provided.

@tylerbrandt tylerbrandt changed the base branch from master to 2.1.x June 25, 2018 21:27
Copy link
Contributor

@mikeproeng37 mikeproeng37 left a comment

Choose a reason for hiding this comment

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

lgtm

Tyler Brandt added 4 commits June 25, 2018 14:30
- (nodejs) Prevent crash when `http`/`https` emits an error by adding an 'error' listener
- (nodejs) Fix `requestCallback` to conform to its role as a 'response' listener; notably, ensure it is called when the first argument is interpeted as the `http.IncomingMessage`, and _not_ called in the event of an error (as expected by `Optimizely#_sendImpressionEvent`/`Optimizely#track`).

Tested that this version (as 2.1.2-0) _does_ emit the messages expected in the demo app.

Fixes #122
Fixes #124
@tylerbrandt tylerbrandt merged commit 10e46ad into 2.1.x Jun 25, 2018
@tylerbrandt tylerbrandt deleted the release/2.1.2 branch June 25, 2018 22:12
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