Skip to content
This repository was 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
mhevery merged 2 commits intoangular:masterfrom
alxhub:node-patch-http
Sep 11, 2016
Merged

feat(node): patch outgoing http requests to capture the zone#430
mhevery merged 2 commits intoangular:masterfrom
alxhub:node-patch-http

Conversation

@alxhub
Copy link
Copy Markdown
Member

@alxhub alxhub commented Sep 7, 2016

No description provided.

Comment thread lib/node/node.ts Outdated
return new ClientRequest(options);
} else {
let zone = Zone.current;
return new ClientRequest(options, zone.wrap(callback, '_http_client.ClientRequest.constructor'));
Copy link
Copy Markdown
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
Copy Markdown
Member Author

alxhub commented Sep 8, 2016

@mhevery, this should be good to go.

@mhevery
Copy link
Copy Markdown
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