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: ca5022b8f10c
Choose a base ref
...
head repository: nodejs/node-v0.x-archive
compare: d62cf59dc152
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Mar 14, 2013

  1. http: Don't hot-path end() for large buffers

    The benefits of the hot-path optimization below start to fall off when
    the buffer size gets up near 128KB, because the cost of the copy is more
    than the cost of the extra write() call.  Switch to the write/end method
    at that point.
    
    Heuristics and magic numbers are awful, but slow http responses are
    worse.
    
    Fix #4975
    isaacs committed Mar 14, 2013
    Copy the full SHA
    d62cf59 View commit details
    Browse the repository at this point in the history