Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node-v0.x-archive
base: 50ba0f27d9a1
Choose a base ref
...
head repository: nodejs/node-v0.x-archive
compare: f26362e9381d
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Mar 1, 2013

  1. http: use socket.once, not socket.on

    Register the 'close' event listener with .once(), not .on().
    
    It doesn't matter in the grand scheme of things because the listener
    doesn't keep references to any heavy-weight objects but using .once()
    for a oneshot listener is something of a best practice.
    bnoordhuis committed Mar 1, 2013
    Copy the full SHA
    f26362e View commit details
    Browse the repository at this point in the history