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

feat(node): patch outgoing http requests to capture the zone #430

Merged
merged 2 commits into from
Sep 11, 2016

Conversation

alxhub
Copy link
Member

@alxhub alxhub commented Sep 7, 2016

No description provided.

return new ClientRequest(options);
} else {
let zone = Zone.current;
return new ClientRequest(options, zone.wrap(callback, '_http_client.ClientRequest.constructor'));
Copy link
Contributor

Choose a reason for hiding this comment

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

why _http_client.ClientRequest.constructor? Why not just http.ClientRequest?

@alxhub alxhub force-pushed the node-patch-http branch 2 times, most recently from 8263b30 to ffaa33e Compare September 8, 2016 15:49
@alxhub
Copy link
Member Author

alxhub commented Sep 8, 2016

@mhevery, this should be good to go.

@mhevery
Copy link
Contributor

mhevery commented Sep 11, 2016

LGTM

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

Successfully merging this pull request may close these issues.

3 participants