Node v0.4.1

2,056 views
Skip to first unread message

Ryan Dahl

unread,
Feb 19, 2011, 10:08:17 PM2/19/11
to nodejs
2011.02.19, Version 0.4.1 (stable)

* Fixed field merging with progressive fields on writeHead()
(TJ Holowaychuk)

* Make the repl respect node_modules folders (isaacs)

* Fix for DNS fail in HTTP request (Richard Rodger)

* Default to port 80 for http.request and http.get.

* Improve V8 support for Cygwin (Bert Belder)

* Fix fs.open param parsing. (Felix Geisendörfer)

* Fixed null signal.

* Fix various HTTP and HTTPS bugs

* cmake improvements (Tom Hughes)

* Fix: TLS sockets should not be writable after 'end'

* Fix os.cpus() on cygwin (Brian White)

* MinGW: OpenSSL support (Bert Belder)

* Upgrade V8 to 3.1.5, libev to 4.4.


Download:http://nodejs.org/dist/node-v0.4.1.tar.gz

Website: http://nodejs.org/docs/v0.4.1

Documentation: http://nodejs.org/docs/v0.4.1/api

S. A.

unread,
Feb 20, 2011, 12:45:36 AM2/20/11
to nodejs
Hello I am getting the following make test errors:
==========================================================================
# make test
Waf: Entering directory `/usr/local/build/node-v0.4.1/build'
DEST_OS: linux
DEST_CPU: x64
Parallel Jobs: 1
Product type: program
Waf: Leaving directory `/usr/local/build/node-v0.4.1/build'
'build' finished successfully (0.102s)
python tools/test.py --mode=release simple message
=== release test-http-agent2
===
Path: simple/test-http-agent2
200
node.js:116
throw e; // process.nextTick error, or 'error' event on first
tick
^
AssertionError: 3 == 100
at EventEmitter.<anonymous> (/usr/local/build/node-v0.4.1/test/
simple/test-http-agent2.js:61:10)
at EventEmitter.emit (events.js:59:20)
at EventEmitter.exit (node.js:192:15)
at ClientRequest.<anonymous> (/usr/local/build/node-v0.4.1/test/
simple/test-http-agent2.js:50:19)
at ClientRequest.emit (events.js:42:17)
at Socket.<anonymous> (http.js:1171:9)
at Socket.emit (events.js:42:17)
at Array.<anonymous> (net.js:799:27)
at EventEmitter._tickCallback (node.js:108:26)
Command: build/default/node /usr/local/build/node-v0.4.1/test/simple/
test-http-agent2.js
[00:52|% 100|+ 181|- 1]: Done
make: *** [test] Error 1
================================================================================

Am I missing a library or something? FYI, 0.4.0 compiles and tests OK.

Thanks

Scott Sanders

unread,
Feb 20, 2011, 2:07:00 AM2/20/11
to nod...@googlegroups.com
Same issue on Mac OS X 10.6, with the exception of:
AssertionError: 5 == 100
stack trace is identical

Liam

unread,
Feb 20, 2011, 4:30:53 AM2/20/11
to nodejs
0.4.1 api docs with right-margin TOC:

http://networkimprov.github.com/node-doc-api/all.html

Isaac Schlueter

unread,
Feb 20, 2011, 3:11:25 PM2/20/11
to nod...@googlegroups.com
S.A., Scott:

Yes, that test is failing everywhere. AFAIK, Ryan made a conscious
decision not to fix it for this release, because it's a bit tricky,
and was holding up other bug fixes.

--i

> --
> You received this message because you are subscribed to the Google Groups "nodejs" group.
> To post to this group, send email to nod...@googlegroups.com.
> To unsubscribe from this group, send email to nodejs+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/nodejs?hl=en.
>
>

Woody Anderson

unread,
Feb 20, 2011, 3:26:04 PM2/20/11
to nodejs
+1

SchAmane

unread,
Feb 21, 2011, 4:21:23 AM2/21/11
to nod...@googlegroups.com
How about fixing it like that ? Or do i miss the mean of this simple test ?

Ryan Dahl

unread,
Feb 21, 2011, 2:29:40 PM2/21/11
to nod...@googlegroups.com, SchAmane
On Mon, Feb 21, 2011 at 1:21 AM, SchAmane <scha...@gmail.com> wrote:
> How about fixing it like that ? Or do i miss the mean of this simple test ?
> https://gist.github.com/836015

The code should be fixed not the test.

SchAmane

unread,
Feb 22, 2011, 3:05:19 AM2/22/11
to nod...@googlegroups.com, SchAmane
This is true. But to me, this test doesn't make match sense. It wait for POST http request that sends data, but it do .end(); ("close connection to me") even before to subscribe any event. So how can it get any data in to the buffer ?
But probably i am just not getting how asynchronous http server works. Is it possible to close response stream, but still work with request stream ?
Reply all
Reply to author
Forward
0 new messages