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

test: remoteAddress may be undefined #2

Closed
wants to merge 3 commits into from

Commits on Dec 9, 2015

  1. test: fixup nodejs 0.8 on travis-ci

    Signed-off-by: Arthur Gautier <[email protected]>
    Arthur Gautier committed Dec 9, 2015
    Configuration menu
    Copy the full SHA
    c0e181d View commit details
    Browse the repository at this point in the history
  2. test: remoteAddress may be undefined

    see nodejs/node#4198
    
    test case:
    ``` javascript
    var net = require('net');
    var server = net.createServer(function(c) { //'connection' listener
      c.on('end', function() {
        console.log(c.remoteAddress);
        server.close();
      });
    });
    server.listen(8124, function() {
      var client = net.connect({port: 8124}, function(c) {
        client.end();
      });
    });
    ```
    
    Signed-off-by: Arthur Gautier <[email protected]>
    Arthur Gautier committed Dec 9, 2015
    Configuration menu
    Copy the full SHA
    b4a0f71 View commit details
    Browse the repository at this point in the history
  3. remoteAddr may be undefined

    Signed-off-by: Arthur Gautier <[email protected]>
    Arthur Gautier committed Dec 9, 2015
    Configuration menu
    Copy the full SHA
    308002f View commit details
    Browse the repository at this point in the history