Skip to content


Ensure BAD domain example actually uses domain #5171

wants to merge 1 commit into from

2 participants


No description provided.


Hey, can you go to and click the boxes that make the lawyers happy? Thanks.


Yep, done.


Landed on 440dcae. Thanks!

@isaacs isaacs closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 30, 2013
  1. @mhart
Showing with 5 additions and 3 deletions.
  1. +5 −3 doc/api/domain.markdown
8 doc/api/domain.markdown
@@ -48,9 +48,11 @@ d.on('error', function(er) {
// This is no better than process.on('uncaughtException')!
console.log('error, but oh well', er.message);
-require('http').createServer(function(req, res) {
- handleRequest(req, res);
-}).listen(PORT); {
+ require('http').createServer(function(req, res) {
+ handleRequest(req, res);
+ }).listen(PORT);
By using the context of a domain, and the resilience of separating our
Something went wrong with that request. Please try again.