Merge remote-tracking branch 'ry/v0.6' into master
authorisaacs <i@izs.me>
Wed, 18 Apr 2012 18:57:54 +0000 (11:57 -0700)
committerisaacs <i@izs.me>
Wed, 18 Apr 2012 18:57:54 +0000 (11:57 -0700)
Conflicts:
AUTHORS
ChangeLog
LICENSE
Makefile
deps/http_parser/test.c
deps/npm/AUTHORS
deps/npm/html/api/bin.html
deps/npm/html/api/bugs.html
deps/npm/html/api/commands.html
deps/npm/html/api/config.html
deps/npm/html/api/deprecate.html
deps/npm/html/api/docs.html
deps/npm/html/api/edit.html
deps/npm/html/api/explore.html
deps/npm/html/api/help-search.html
deps/npm/html/api/init.html
deps/npm/html/api/install.html
deps/npm/html/api/link.html
deps/npm/html/api/load.html
deps/npm/html/api/ls.html
deps/npm/html/api/npm.html
deps/npm/html/api/outdated.html
deps/npm/html/api/owner.html
deps/npm/html/api/pack.html
deps/npm/html/api/prefix.html
deps/npm/html/api/prune.html
deps/npm/html/api/publish.html
deps/npm/html/api/rebuild.html
deps/npm/html/api/restart.html
deps/npm/html/api/root.html
deps/npm/html/api/run-script.html
deps/npm/html/api/search.html
deps/npm/html/api/shrinkwrap.html
deps/npm/html/api/start.html
deps/npm/html/api/stop.html
deps/npm/html/api/submodule.html
deps/npm/html/api/tag.html
deps/npm/html/api/test.html
deps/npm/html/api/uninstall.html
deps/npm/html/api/unpublish.html
deps/npm/html/api/update.html
deps/npm/html/api/version.html
deps/npm/html/api/view.html
deps/npm/html/api/whoami.html
deps/npm/html/doc/README.html
deps/npm/html/doc/adduser.html
deps/npm/html/doc/bin.html
deps/npm/html/doc/bugs.html
deps/npm/html/doc/build.html
deps/npm/html/doc/bundle.html
deps/npm/html/doc/cache.html
deps/npm/html/doc/changelog.html
deps/npm/html/doc/coding-style.html
deps/npm/html/doc/completion.html
deps/npm/html/doc/config.html
deps/npm/html/doc/deprecate.html
deps/npm/html/doc/developers.html
deps/npm/html/doc/disputes.html
deps/npm/html/doc/docs.html
deps/npm/html/doc/edit.html
deps/npm/html/doc/explore.html
deps/npm/html/doc/faq.html
deps/npm/html/doc/folders.html
deps/npm/html/doc/help-search.html
deps/npm/html/doc/help.html
deps/npm/html/doc/index.html
deps/npm/html/doc/init.html
deps/npm/html/doc/install.html
deps/npm/html/doc/json.html
deps/npm/html/doc/link.html
deps/npm/html/doc/list.html
deps/npm/html/doc/npm.html
deps/npm/html/doc/outdated.html
deps/npm/html/doc/owner.html
deps/npm/html/doc/pack.html
deps/npm/html/doc/prefix.html
deps/npm/html/doc/prune.html
deps/npm/html/doc/publish.html
deps/npm/html/doc/rebuild.html
deps/npm/html/doc/registry.html
deps/npm/html/doc/removing-npm.html
deps/npm/html/doc/restart.html
deps/npm/html/doc/root.html
deps/npm/html/doc/run-script.html
deps/npm/html/doc/scripts.html
deps/npm/html/doc/search.html
deps/npm/html/doc/semver.html
deps/npm/html/doc/shrinkwrap.html
deps/npm/html/doc/star.html
deps/npm/html/doc/start.html
deps/npm/html/doc/stop.html
deps/npm/html/doc/submodule.html
deps/npm/html/doc/tag.html
deps/npm/html/doc/test.html
deps/npm/html/doc/uninstall.html
deps/npm/html/doc/unpublish.html
deps/npm/html/doc/update.html
deps/npm/html/doc/version.html
deps/npm/html/doc/view.html
deps/npm/html/doc/whoami.html
deps/npm/lib/npm.js
deps/npm/man/man1/npm.1
deps/npm/man/man3/npm.3
deps/npm/node_modules/fstream-npm/fstream-npm.js
deps/npm/node_modules/fstream-npm/node_modules/fstream-ignore/package.json
deps/npm/node_modules/fstream-npm/package.json
deps/npm/node_modules/node-gyp/LICENSE
deps/npm/node_modules/node-gyp/lib/build.js
deps/npm/node_modules/node-gyp/lib/install.js
deps/npm/node_modules/node-gyp/node_modules/ansi/package.json
deps/npm/node_modules/node-gyp/node_modules/glob/package.json
deps/npm/node_modules/node-gyp/package.json
deps/npm/package.json
deps/uv/test/test-fs.c
deps/v8/src/regexp-macro-assembler-tracer.cc
deps/v8/src/version.cc
src/node_version.h
src/platform_sunos.cc
test/simple/test-net-write-after-close.js
wscript

1  2 
AUTHORS
ChangeLog
Makefile
deps/http_parser/test.c
deps/uv/test/test-fs.c
lib/fs.js
lib/net.js
src/node.h
src/node_crypto.cc
src/node_file.cc
src/v8_typed_array.cc

diff --cc AUTHORS
+++ b/AUTHORS
@@@ -268,35 -268,7 +268,36 @@@ Paddy Byers <paddy.byers@gmail.com
  Seth Fitzsimmons <seth@mojodna.net>
  Einar Otto Stangvik <einaros@gmail.com>
  Paul Vorbach <paul@vorb.de>
 -tedsuo <ted@radicaldesigns.org>
 +Luke Gallagher <notfornoone@gmail.com>
 +Tomasz Buchert <tomek.buchert@gmail.com>
 +Myles Byrne <myles@myles.id.au>
 +T.C. Hollingsworth <tchollingsworth@gmail.com>
 +Cam Pedersen <diffference@gmail.com>
 +Roly Fentanes <roly426@gmail.com>
 +Ted Young <ted@radicaldesigns.org>
  Joshua Holbrook <josh.holbrook@gmail.com>
 +Blake Miner <miner.blake@gmail.com>
 +Vincent Ollivier <contact@vincentollivier.com>
 +Jimb Esser <jimb@railgun3d.com>
 +Sambasiva Suda <sambasivarao@gmail.com>
 +Sadique Ali <sadiqalikm@gmail.com>
 +Dmitry Nizovtsev <dmitry@ukrteam.com>
 +Alex Kocharin <rlidwka@kocharin.ru>
 +Ming Liu <vmliu1@gmail.com>
 +Shea Levy <shea@shealevy.com>
 +Nao Iizuka <iizuka@kyu-mu.net>
 +Christian Ress <christian@ressonline.de>
  Rod Vagg <rod@vagg.org>
 +Matt Ezell <ezell.matt@gmail.com>
 +Charlie McConnell <charlie@charlieistheman.com>
 +Farid Neshat <FaridN_SOAD@yahoo.com>
 +Johannes Wüller <johanneswueller@gmail.com>
 +Erik Lundin <mjor.himself@gmail.com>
 +Mikael Bourges-Sevenier <mikeseven@gmail.com>
 +Yosef Dinerstein <yosefd@microsoft.com>
 +Nathan Friedly <nathan@nfriedly.com>
 +Aaron Jacobs <jacobsa@google.com>
 +Mustansir Golawala <mgolawala@gmail.com>
 +fukayatsu <fukayatsu@gmail.com>
 +Domenic Denicola <domenic@domenicdenicola.com>
+ Bryan Cantrill <bryan@joyent.com>
diff --cc ChangeLog
+++ b/ChangeLog
 +2012.04.18, Version 0.7.8, (unstable)
 +
 +* Upgrade V8 to 3.9.24.9
 +
 +* Upgrade OpenSSL to 1.0.0f
 +
 +* Upgrade npm to 1.1.18
 +
 +* Show licenses in Binary installers
 +
 +* Domains (isaacs)
 +
 +* readline: rename "end" to "close" (Nathan Rajlich)
 +
 +* tcp: make getsockname() return address family as string (Shigeki Ohtsu)
 +
 +* http, https: fix .setTimeout() (ssuda)
 +
 +* os: add cross platform EOL character (Mustansir Golawala)
 +
 +* typed arrays: unexport SizeOfArrayElementForType() (Aaron Jacobs)
 +
 +* net: honor 'enable' flag in .setNoDelay() (Ben Noordhuis)
 +
 +* child_process: emit error when .kill fails (Andreas Madsen)
 +
 +* gyp: fix 'argument list too long' build error (Ben Noordhuis)
 +
 +* fs.WriteStream: Handle modifications to fs.open (isaacs)
 +
 +* repl, readline: Handle newlines better (Nathan Rajlich, Nathan Friedly)
 +
 +* build: target OSX 10.5 when building on darwin (Nathan Rajlich)
 +
 +* Fix #3052 Handle errors properly in zlib (isaacs)
 +
 +* build: add support for DTrace and postmortem (Dave Pacheco)
 +
 +* core: add reusable Slab allocator (Ben Noordhuis)
 +
 +
 +2012.03.30, Version 0.7.7 (unstable), 5cda2542fdb086f9fe5de889bea435a65e377dea
 +
 +* Upgrade V8 to 3.9.24.7
 +
 +* Upgrade npm to 1.1.15
 +
 +* Handle Emoji characters properly (Erik Corry, Bert Belder)
 +
 +* readline: migrate ansi/vt100 logic from tty to readline (Nathan Rajlich)
 +
 +* readline: Fix multiline handling (Alex Kocharin)
 +
 +* add a -i/--interactive flag to force the REPL (Nathan Rajlich)
 +
 +* debugger: add breakOnException command (Fedor Indutny)
 +
 +* cluster: kill workers when master dies (Andreas Madsen)
 +
 +* cluster: add graceful disconnect support (Andreas Madsen)
 +
 +* child_process: Separate 'close' event from 'exit' (Charlie McConnell)
 +
 +* typed arrays: add Uint8ClampedArray (Mikael Bourges-Sevenier)
 +
 +* buffer: Fix byte alignment issues (Ben Noordhuis, Erik Lundin)
 +
 +* tls: fix CryptoStream.setKeepAlive() (Shigeki Ohtsu)
 +
 +* Expose http parse error codes (Felix Geisendörfer)
 +
 +* events: don't delete the listeners array (Ben Noordhuis, Nathan Rajlich)
 +
 +* process: add process.config to view node's ./configure settings (Nathan Rajlich)
 +
 +* process: process.execArgv to see node's arguments (Micheil Smith)
 +
 +* process: fix process.title setter (Ben Noordhuis)
 +
 +* timers: handle negative or non-numeric timeout values (Ben Noordhuis)
 +
 +
 +2012.03.13, Version 0.7.6 (unstable), f06abda6f58e517349d1b63a2cbf5a8d04a03505
 +
 +* Upgrade v8 to 3.9.17
 +
 +* Upgrade npm to 1.1.8
 +  - Add support for os/cpu fields in package.json (Adam Blackburn)
 +  - Automatically node-gyp packages containing a binding.gyp
 +  - Fix failures unpacking in UNC shares
 +  - Never create un-listable directories
 +  - Handle cases where an optionalDependency fails to build
 +
 +* events: newListener emit correct fn when using 'once' (Roly Fentanes)
 +
 +* url: Ignore empty port component (Łukasz Walukiewicz)
 +
 +* module: replace 'children' array (isaacs)
 +
 +* tls: parse multiple values of a key in ssl certificate (Sambasiva Suda)
 +
 +* cluster: support passing of named pipes (Ben Noordhuis)
 +
 +* Windows: include syscall in fs errors (Bert Belder)
 +
 +* http: #2888 Emit end event only once (Igor Zinkovsky)
 +
 +* readline: add multiline support (Rlidwka)
 +
 +* process: add `process.hrtime()` (Nathan Rajlich)
 +
 +* net, http, https: add localAddress option (Dmitry Nizovtsev)
 +
 +* addon improvements (Nathan Rajlich)
 +
 +* build improvements (Ben Noordhuis, Sadique Ali, T.C. Hollingsworth, Nathan Rajlich)
 +
 +* add support for "SEARCH" request methods (Nathan Rajlich)
 +
 +* expose the zlib and http_parser version in process.versions (Nathan Rajlich)
 +
 +
 +2012.02.23, Version 0.7.5 (unstable), d384b8b0d2ab7f05465f0a3e15fe20b4e25b5f86
 +
 +* startup speed improvements (Maciej Małecki)
 +
 +* crypto: add function getDiffieHellman() (Tomasz Buchert)
 +
 +* buffer: support decoding of URL-safe base64 (Ben Noordhuis)
 +
 +* Make QueryString.parse() even faster (Brian White)
 +
 +* url: decode url entities in auth section (Ben Noordhuis)
 +
 +* http: support PURGE request method (Ben Noordhuis)
 +
 +* http: Generate Date headers on responses (Mark Nottingham)
 +
 +* Fix #2762: Add callback to close function. (Mikeal Rogers)
 +
 +* dgram: fix out-of-bound memory read (Ben Noordhuis)
 +
 +* repl: add automatic loading of built-in libs (Brandon Benvie)
 +
 +* repl: remove double calls where possible (Fedor Indutny)
 +
 +* Readline improvements. Related: #2737 #2756 (Colton Baker)
 +
 +* build: disable -fomit-frame-pointer on solaris (Dave Pacheco)
 +
 +* build: arch detection improvements (Nathan Rajlich)
 +
 +* build: Make a fat binary for the OS X `make pkg`. (Nathan Rajlich)
 +
 +* jslint src/ and lib/ on 'make test' (isaacs)
 +
 +
 +
 +2012.02.14, Version 0.7.4 (unstable), de21de920cf93ec40736ada3792a7f85f3eadeda
 +
 +* Upgrade V8 to 3.9.5
 +
 +* Upgrade npm to 1.1.1
 +
 +* build: Detect host_arch better (Karl Skomski)
 +
 +* debugger: export `debug_port` to `process` (Fedor Indutny)
 +
 +* api docs: CSS bug fixes (isaacs)
 +
 +* build: use -fPIC for native addons on UNIX (Nathan Rajlich)
 +
 +* Re-add top-level v8::Locker (Marcel Laverdet)
 +
 +* Move images out of the dist tarballs (isaacs)
 +
 +* libuv: Remove uv_export and uv_import (Ben Noordhuis)
 +
 +* build: Support x64 build on Windows (Igor Zinkovsky)
 +
 +
 +2012.02.07, Version 0.7.3 (unstable), 99059aad8d654acda4abcfaa68df182b50f2ec90
 +
 +* Upgrade V8 to 3.9.2
 +
 +* Revert support for isolates. (Ben Noordhuis)
 +
 +* cluster: Cleanup docs, event handling, and process.disconnect (Andreas Madsen)
 +
 +* gyp_addon: link with node.lib on Windows (Nathan Rajlich)
 +
 +* http: fix case where http-parser is freed twice (koichik)
 +
 +* Windows: disable RTTI and exceptions (Bert Belder)
 +
 +
 +2012.02.01, Version 0.7.2 (unstable), ec79acb3a6166e30f0bf271fbbfda1fb575b3321
 +
 +* Update V8 to 3.8.9
 +
 +* Support for sharing streams across Isolates (Igor Zinkovsky)
 +
 +* #2636 - Fix case where http_parsers are freed too early (koichik)
 +
 +* url: Support for IPv6 addresses in URLs (Łukasz Walukiewicz)
 +
 +* child_process: Add disconnect() method to child processes (Andreas Madsen)
 +
 +* fs: add O_EXCL support, exclusive open file (Ben Noordhuis)
 +
 +* fs: more specific error messages (Tj Holowaychuk)
 +
 +* tty: emit 'unknown' key event if key sequence not found (Dan VerWeire, Nathan Rajlich)
 +
 +* build: compile release build too if BUILDTYPE=Debug (Ben Noordhuis)
 +
 +* module: fix --debug-brk on symlinked scripts (Fedor Indutny)
 +
 +* zlib: fix `Failed to set dictionary` issue (Fedor Indutny)
 +
 +* waf: predict target arch for OS X (Fedor Indutny)
 +
 +
 +2012.01.23, Version 0.7.1 (unstable), a74354735ab5d5b0fa35a1e4ff7e653757d2069b
 +
 +* Update V8 to 3.8.8
 +
 +* Install node-waf by default (Fedor Indutny)
 +
 +* crypto: Add ability to turn off PKCS padding (Ingmar Runge)
 +
 +* v8: implement VirtualMemory class on SunOS (Ben Noordhuis)
 +
 +* Add cluster.setupMaster (Andreas Madsen)
 +
 +* move `path.exists*` to `fs.exists*` (Maciej Małecki)
 +
 +* typed arrays: set class name (Ben Noordhuis)
 +
 +* libuv bug fixes (Igor Zinkovsky, Ben Noordhuis, Dan VerWeire)
 +
 +
 +2012.01.16, Version 0.7.0 (unstable), 9cc55dca6f67a6096c858b841c677b0593404321
 +
 +* Upgrade V8 to 3.8.6
 +
 +* Use GYP build system on unix (Ben Noordhuis)
 +
 +* Experimenetal isolates support (Ben Noordhuis)
 +
 +* Improvements to Cluster API (Andreas Madsen)
 +
 +* Use isolates for internal debugger (Fedor Indutny)
 +
 +* Bug fixes
 +
 +
+ 2012.04.09 Version 0.6.15 (stable)
+ * Update npm to 1.1.16
+ * Show licenses in binary installers.
+ * unix: add uv_fs_read64, uv_fs_write64 and uv_fs_ftruncate64 (Ben Noordhuis)
+ * add 64bit offset fs functions (Igor Zinkovsky)
+ * windows: don't report ENOTSOCK when attempting to bind an udp handle twice (Bert Belder)
+ * windows: backport pipe-connect-to-file fixes from master (Bert Belder)
+ * windows: never call fs event callbacks after closing the watcher (Bert Belder)
+ * fs.readFile: don't make the callback before the fd is closed (Bert Belder)
+ * windows: use 64bit offsets for uv_fs apis (Igor Zinkovsky)
+ * Fix #2061: segmentation fault on OS X due to stat size mismatch (Ben Noordhuis)
+ 2012.03.22 Version 0.6.14 (stable), e513ffef7549a56a5af728e1f0c2c0c8f290518a
+ * net: don't crash when queued write fails (Igor Zinkovsky)
+ * sunos: fix EMFILE on process.memoryUsage() (Bryan Cantrill)
+ * crypto: fix compile-time error with openssl 0.9.7e (Ben Noordhuis)
+ * unix: ignore ECONNABORTED errors from accept() (Ben Noordhuis)
+ * Add UV_ENOSPC and mappings to it (Bert Belder)
+ * http-parser: Fix response body is not read (koichik)
+ * Upgrade npm to 1.1.12
+   - upgrade node-gyp to 0.3.7
+   - work around AV-locked directories on Windows
+   - Fix isaacs/npm#2293 Don't try to 'uninstall' /
+   - Exclude symbolic links from packages.
+   - Fix isaacs/npm#2275 Spurious 'unresolvable cycle' error.
+   - Exclude/include dot files as if they were normal files
  2012.03.15 Version 0.6.13 (stable), 9f7f86b534f8556290eb8cad915984ff4ca54996
  
  * Windows: Many libuv test fixes (Bert Belder)
diff --cc Makefile
Simple merge
@@@ -970,8 -830,8 +780,8 @@@ const struct message responses[] 
  , {.name= "404 no headers no body"
    ,.type= HTTP_RESPONSE
    ,.raw= "HTTP/1.1 404 Not Found\r\n\r\n"
--  ,.should_keep_alive= FALSE
--  ,.message_complete_on_eof= TRUE
++  ,.should_keep_alive= TRUE
++  ,.message_complete_on_eof= FALSE
    ,.http_major= 1
    ,.http_minor= 1
    ,.status_code= 404
  , {.name= "301 no response phrase"
    ,.type= HTTP_RESPONSE
    ,.raw= "HTTP/1.1 301\r\n\r\n"
--  ,.should_keep_alive = FALSE
--  ,.message_complete_on_eof= TRUE
++  ,.should_keep_alive = TRUE
++  ,.message_complete_on_eof= FALSE
    ,.http_major= 1
    ,.http_minor= 1
    ,.status_code= 301
      {}
    ,.body= ""
    }
--
- #define NO_CONTENT_LENGTH_NO_TRANSFER_ENCODING_RESPONSE 12
 -#define NO_CONTENT_LENGTH_NO_TRANSFER_ENCODING_RESPONSE 13
--/* The client should wait for the server's EOF. That is, when neither
-- * content-length nor transfer-encoding is specified, the end of body
-- * is specified by the EOF.
-- */
--, {.name= "neither content-length nor transfer-encoding response"
--  ,.type= HTTP_RESPONSE
--  ,.raw= "HTTP/1.1 200 OK\r\n"
--         "Content-Type: text/plain\r\n"
--         "\r\n"
--         "hello world"
--  ,.should_keep_alive= FALSE
--  ,.message_complete_on_eof= TRUE
--  ,.http_major= 1
--  ,.http_minor= 1
--  ,.status_code= 200
--  ,.num_headers= 1
--  ,.headers=
--    { { "Content-Type", "text/plain" }
--    }
--  ,.body= "hello world"
-   }
- #define NO_BODY_HTTP10_KA_200 13
- , {.name= "HTTP/1.0 with keep-alive and EOF-terminated 200 status"
-   ,.type= HTTP_RESPONSE
-   ,.raw= "HTTP/1.0 200 OK\r\n"
-          "Connection: keep-alive\r\n"
-          "\r\n"
-   ,.should_keep_alive= FALSE
-   ,.message_complete_on_eof= TRUE
-   ,.http_major= 1
-   ,.http_minor= 0
-   ,.status_code= 200
-   ,.num_headers= 1
-   ,.headers=
-     { { "Connection", "keep-alive" }
-     }
-   ,.body_size= 0
-   ,.body= ""
-   }
- #define NO_BODY_HTTP10_KA_204 14
- , {.name= "HTTP/1.0 with keep-alive and a 204 status"
-   ,.type= HTTP_RESPONSE
-   ,.raw= "HTTP/1.0 204 No content\r\n"
-          "Connection: keep-alive\r\n"
-          "\r\n"
-   ,.should_keep_alive= TRUE
-   ,.message_complete_on_eof= FALSE
-   ,.http_major= 1
-   ,.http_minor= 0
-   ,.status_code= 204
-   ,.num_headers= 1
-   ,.headers=
-     { { "Connection", "keep-alive" }
-     }
-   ,.body_size= 0
-   ,.body= ""
-   }
- #define NO_BODY_HTTP11_KA_200 15
- , {.name= "HTTP/1.1 with an EOF-terminated 200 status"
-   ,.type= HTTP_RESPONSE
-   ,.raw= "HTTP/1.1 200 OK\r\n"
-          "\r\n"
-   ,.should_keep_alive= FALSE
-   ,.message_complete_on_eof= TRUE
-   ,.http_major= 1
-   ,.http_minor= 1
-   ,.status_code= 200
-   ,.num_headers= 0
-   ,.headers={}
-   ,.body_size= 0
-   ,.body= ""
--  }
--
- #define NO_BODY_HTTP11_KA_204 16
- , {.name= "HTTP/1.1 with a 204 status"
 -#define NO_HEADERS_NO_BODY_204 14
 -, {.name= "204 no headers no body"
--  ,.type= HTTP_RESPONSE
-   ,.raw= "HTTP/1.1 204 No content\r\n"
-          "\r\n"
 -  ,.raw= "HTTP/1.1 204 No Content\r\n\r\n"
--  ,.should_keep_alive= TRUE
--  ,.message_complete_on_eof= FALSE
--  ,.http_major= 1
--  ,.http_minor= 1
--  ,.status_code= 204
--  ,.num_headers= 0
-   ,.headers={}
-   ,.body_size= 0
-   ,.body= ""
-   }
- #define NO_BODY_HTTP11_NOKA_204 17
- , {.name= "HTTP/1.1 with a 204 status and keep-alive disabled"
-   ,.type= HTTP_RESPONSE
-   ,.raw= "HTTP/1.1 204 No content\r\n"
-          "Connection: close\r\n"
-          "\r\n"
-   ,.should_keep_alive= FALSE
-   ,.message_complete_on_eof= FALSE
-   ,.http_major= 1
-   ,.http_minor= 1
-   ,.status_code= 204
-   ,.num_headers= 1
-   ,.headers=
-     { { "Connection", "close" }
-     }
-   ,.body_size= 0
-   ,.body= ""
-   }
- #define NO_BODY_HTTP11_KA_CHUNKED_200 18
- , {.name= "HTTP/1.1 with chunked endocing and a 200 response"
-   ,.type= HTTP_RESPONSE
-   ,.raw= "HTTP/1.1 200 OK\r\n"
-          "Transfer-Encoding: chunked\r\n"
-          "\r\n"
-          "0\r\n"
-          "\r\n"
-   ,.should_keep_alive= TRUE
-   ,.message_complete_on_eof= FALSE
-   ,.http_major= 1
-   ,.http_minor= 1
-   ,.status_code= 200
-   ,.num_headers= 1
-   ,.headers=
-     { { "Transfer-Encoding", "chunked" }
-     }
 -  ,.headers= {}
--  ,.body_size= 0
--  ,.body= ""
-   }
- #if !HTTP_PARSER_STRICT
- #define SPACE_IN_FIELD_RES 19
- /* Should handle spaces in header fields */
- , {.name= "field space"
-   ,.type= HTTP_RESPONSE
-   ,.raw= "HTTP/1.1 200 OK\r\n"
-          "Server: Microsoft-IIS/6.0\r\n"
-          "X-Powered-By: ASP.NET\r\n"
-          "en-US Content-Type: text/xml\r\n" /* this is the problem */
-          "Content-Type: text/xml\r\n"
-          "Content-Length: 16\r\n"
-          "Date: Fri, 23 Jul 2010 18:45:38 GMT\r\n"
-          "Connection: keep-alive\r\n"
-          "\r\n"
-          "<xml>hello</xml>" /* fake body */
-   ,.should_keep_alive= TRUE
-   ,.message_complete_on_eof= FALSE
-   ,.http_major= 1
-   ,.http_minor= 1
-   ,.status_code= 200
-   ,.num_headers= 7
-   ,.headers=
-     { { "Server",  "Microsoft-IIS/6.0" }
-     , { "X-Powered-By", "ASP.NET" }
-     , { "en-US Content-Type", "text/xml" }
-     , { "Content-Type", "text/xml" }
-     , { "Content-Length", "16" }
-     , { "Date", "Fri, 23 Jul 2010 18:45:38 GMT" }
-     , { "Connection", "keep-alive" }
-     }
-   ,.body= "<xml>hello</xml>"
--  }
- #endif /* !HTTP_PARSER_STRICT */
--
  , {.name= NULL } /* sentinel */
++
  };
  
  int
@@@ -2721,7 -1976,7 +1888,7 @@@ main (void
  
    printf("response scan 1/2      ");
    test_scan( &responses[TRAILING_SPACE_ON_CHUNKED_BODY]
-            , &responses[NO_BODY_HTTP10_KA_204]
 -           , &responses[NO_HEADERS_NO_BODY_204]
++           , &responses[NO_HEADERS_NO_BODY_404]
             , &responses[NO_REASON_PHRASE]
             );
  
@@@ -325,8 -324,13 +319,7 @@@ static void write_cb(uv_fs_t* req) 
    ASSERT(req->result != -1);
    write_cb_count++;
    uv_fs_req_cleanup(req);
 -
 -  if (write_cb_count == 1) {
 -    r = uv_fs_write64(loop, &write_req, open_req1.result, test_buf, sizeof(test_buf),
 -        -1, write_cb);
 -  } else {
 -    r = uv_fs_fdatasync(loop, &fdatasync_req, open_req1.result, fdatasync_cb);
 -  }
 +  r = uv_fs_fdatasync(loop, &fdatasync_req, open_req1.result, fdatasync_cb);
-   ASSERT(r == 0);
  }
  
  
diff --cc lib/fs.js
Simple merge
diff --cc lib/net.js
Simple merge
diff --cc src/node.h
Simple merge
Simple merge
@@@ -37,9 -37,9 +37,8 @@@
  
  #if defined(__MINGW32__) || defined(_MSC_VER)
  # include <io.h>
 -# include <platform_win32.h>
  #endif
  
  namespace node {
  
  using namespace v8;
@@@ -468,9 -388,10 +468,11 @@@ class TypedArray 
        case v8::kExternalUnsignedIntArray: return "Uint32Array";
        case v8::kExternalFloatArray: return "Float32Array";
        case v8::kExternalDoubleArray: return "Float64Array";
 +      case v8::kExternalPixelArray: return "Uint8ClampedArray";
      }
      abort();
+     // Please the compiler
+     return "";
    }
  };