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: 689e5c9d3db6
Choose a base ref
...
head repository: nodejs/node-v0.x-archive
compare: 15a5a4a9453a
Choose a head ref
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Sep 4, 2013

  1. http: Only send connection:keep-alive if necessary

    In cases where the Agent has maxSockets=Infinity, and
    keepAlive=false, there's no case where we won't immediately close the
    connection after the response is completed.
    
    Since we're going to close it anyway, send a `connection:close` header
    rather than a `connection:keep-alive` header.  Still send the
    `connection:keep-alive` if the agent will actually reuse the socket,
    however.
    
    Closes #5838
    isaacs committed Sep 4, 2013
    Copy the full SHA
    15a5a4a View commit details
    Browse the repository at this point in the history