Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Dec 22, 2009
  1. @felixge @ry

    Do not pause request for multipart parsing

    felixge authored ry committed
    This is actually undesireable as it takes away control from the user who
    may want to pause/resume to throttle the upload stream, or synchronize
    it with disk flushing.
    I actually ran into memory issues when trying to stream huge files to
    disc as the file module was building up a huge action buffer. This can
    now easily be avoided like this:
    part.addListener('body', function(chunk) {
      file.write(chunk).addCallback(function() {
  2. @ry

    Fix require("../blah") issues

    isaacs authored ry committed
    Added some more tests, and refactored the uri and path modules to use the
    same normalization logic, so that nothing is relying on flaky regexps.
Commits on Dec 18, 2009
  1. @ry

    Update to fix failing test. Rewrite of the resolveObject function, an…

    isaacs authored ry committed
    …d some tweaks to format.
  2. @ry

    Use the new uri parser.

    isaacs authored ry committed
  3. @ry

    Add credits, and a "decode" function.

    isaacs authored ry committed
  4. @ry

    Pull in the uri.js from Narwhal and create tests, stripping out the c…

    isaacs authored ry committed
    …ruft from a previous code-surgery.
Commits on Dec 8, 2009
  1. @tj @ry


    tj authored ry committed
    Express (my framework) uses them as a default
    response body when non is present. Others
    might use them for something as well.
    Beats duplicating the list :D
Commits on Dec 7, 2009
  1. @xaviershay @ry
Commits on Dec 6, 2009
  1. @ry

    Add http.Client.prototype.request()

    Christopher Lenz authored ry committed
    Change the http.Client API so that it provides a single request() method
    taking an optional parameter to specify the HTTP method (defaulting to
    "GET"), instead of the five methods get(), head(), post(), del() and put().
  2. @xaviershay @ry

    sys.inspect is totally more awesome now

    xaviershay authored ry committed
    - No longer relies on JSON.stringify, so it can output nulls and functions
    - Handles circular references better
    - Has tests
  3. @ry

    Implement promises entirely in JS

    ry authored
  4. @ry

    Refactor to not use Promises.

    ry authored
    At the same time implement synchronous wrappers of the POSIX functions.
    These will be undocumented until we settle on an API. Works like this
        // returns promise as before
        posix.mkdir("test").addCallback(function () {
        // returns undefined, executed synchronously.
    This refactoring is a step towards allowing promises to be implemented
    purely in javascript.
  5. @ry
Commits on Dec 5, 2009
  1. @ry
  2. @ry
  3. @grayrest @ry

    Dependency free assert module with unit tests

    grayrest authored ry committed
  4. @felixge @ry

    CommonJS testing for node.js

    felixge authored ry committed
    Refactored test suite to use the assert module for testing rather than
Commits on Dec 4, 2009
  1. @inimino @ry

    fixed HTTP duplicated header bug

    inimino authored ry committed
    added test case for HTTP duplicated header bug on keepalive
Commits on Nov 30, 2009
  1. @waveto @ry

    Add HTTP client TLS support

    waveto authored ry committed
  2. @jed @ry

    fixed check on header type, to check member instead of object.

    jed authored ry committed
Commits on Nov 28, 2009
  1. @fwg @ry

    sys.puts should not kill the process when giving it undefined

    fwg authored ry committed
  2. @choonkeat @ry
Commits on Nov 22, 2009
  1. @felixge @ry

    Reduce multipart memory footprint

    felixge authored ry committed
    Multipart parts kept the first chunk of data after their headers in
    memory, even so that was no longer needed.
  2. @waveto @ry

    Initial TLS support

    waveto authored ry committed
Commits on Nov 21, 2009
  1. @felixge @ry

    Multipart improvements

    felixge authored ry committed
    Multipart parts now have a name and filename property. Those are the
    same as:
    This patch also updates and improves the docs for the multipart module.
  2. @ry

    New http-parser

    ry authored
    No longer based on Ragel, but hand-written.
    Had to add HTTPConnection.resetParser() because the parser is stricter and
    will error out when you try to give it a message after the previous had
    "Connection: close". The HTTP client was doing that. Thus we reset the
    parser manually after each new connection.
  3. @ry

    Revert "Normalize HTTP headers."

    ry authored
    This reverts commit f623fd7.
    But only the changes made in lib/ they were falsely detecting outgoing
Commits on Nov 19, 2009
  1. @onnlucky @ry
Commits on Nov 16, 2009
  1. @felixge @ry

    Format JSON for inspecting objects

    felixge authored ry committed
    This patch enables formatting for inspecting JSON objects. Example:
    p({foo: "bar", deep: {foo: "bar"}})
     "foo": "bar",
     "deep": {
      "foo": "bar"
Commits on Nov 11, 2009
  1. @felixge @ry

    Bugfix for sendBody() and chunked utf8 strings

    felixge authored ry committed
    Http expects chunked byte offsets and ignores the encoding specified in the
    header. This patch makes node behave accordingly.
    Bug report:
Commits on Nov 7, 2009
  1. @ry
Commits on Nov 6, 2009
  1. @ry

    Revert "Upgrade http parser, change node as needed."

    ry authored
    Something is broken in how keep-alive is working. Reverting until I can fix
    This reverts commit b893859.
Commits on Nov 4, 2009
  1. @ry
  2. @ry
Commits on Nov 3, 2009
  1. @ry

    Move memoryUsage() into C on Linux

    ry authored
Something went wrong with that request. Please try again.