Ryan Dahl
d2cff34fa3
Idle timeout changes
...
- setTimeout should active the timeout too. (test-net-set-timeout tests
this.)
- 'timeout' event is not automatically followed by an 'error' event. That
is the user is now responsible for destroying the stream if there is an
idle timeout.
2010-05-12 10:06:13 -07:00
Ryan Dahl
f7ff548dd0
Quote variables in configure script
2010-05-11 10:25:27 -07:00
Ryan Dahl
c90e44e582
Just add an extra include for strings.h - don't try to be cute
2010-05-10 16:38:47 -07:00
Ryan Dahl
8e5b91c79b
Revert "Check for strings.h"
...
This reverts commit 032f651824
.
2010-05-10 16:38:14 -07:00
Ryan Dahl
032f651824
Check for strings.h
2010-05-10 16:30:31 -07:00
Ryan Dahl
35dd0fb271
Patch v8 build for solaris
...
Submitted this patch to V8
http://codereview.chromium.org/1990010/show
2010-05-10 16:28:02 -07:00
Ryan Dahl
615d890622
Upgrade V8 to 2.2.9
2010-05-10 09:58:20 -07:00
Ryan Dahl
8ab238e7de
Revert "destroy instead of end http connection at end of pipeline"
...
This reverts commit 4ce1e1fca5
.
To fix test-http-full-response.js. Clearly this is not the correct solution.
Probably need idle timeouts.
2010-05-09 21:29:51 -07:00
Ryan Dahl
15bb392afd
Disable test-remote-module-loading
...
In ab068db9b1
this test was broken because (I
think) compile/run errors are set to crash the program instead of being
passed back.
Error reporting is more important than remote loading. Disabling until there
is a fix
2010-05-09 18:46:04 -07:00
Ryan Dahl
b78508266b
Change string.h to strings.h compile on solaris
2010-05-09 16:29:23 -07:00
Ryan Dahl
1ecb11f944
Add failing test - http responses not all complete
...
Report and test by soderblom.peter@gmail.com
2010-05-09 15:08:54 -07:00
Ryan Dahl
ab068db9b1
Improve error reporting
...
- No more single line "node.js:176:9" errors
- No more strange output when error happens on first line due to
module wrapper function.
- A few tests to check these things
2010-05-09 13:55:42 -07:00
Ryan Dahl
1d28cfcfb9
Better logic for testing if an argument is a port
...
If you did server.listen('123') it would open a socket in the current
directory called 123. Now it will interpret it as a port.
2010-05-09 12:10:42 -07:00
Ryan Dahl
d38d96eb61
Don't emit 'exit' twice from child process
2010-05-08 23:28:26 -07:00
Ryan Dahl
d7762dffe3
Forgot to add child_process_should_emit_error.js
2010-05-08 23:24:24 -07:00
Ryan Dahl
264e540d00
Fix error reporting in child_process callbacks
...
Issue 120, test case by Nathan Ostgard
2010-05-08 22:13:34 -07:00
rentzsch
a5b132ad63
fs.Stats.size V8::Integer => V8::Number.
...
While VM::Integer::Value() offers an int64_t, V8::Integer::New() only
accepts an int32_t, truncating fs.Stat's size in BuildStatsObject().
I consider this a bug in V8, and we should move back to V8::Integer
when it gets a ctr that allows a int64_t. Until then, this work-around
should hold.
2010-05-08 19:52:22 -07:00
Ryan Dahl
3ac6deefa8
Change GC idle notify so that it runs along side setInterval
...
Doesn't appear any slower. Also checks for high memory usage and tries to
force more notifications.
2010-05-07 19:06:05 -07:00
isaacs
bc45adcffa
Add binding.close to fs.readFile
2010-05-07 13:17:57 -07:00
Tim Caswell
c07c601c3b
fs.readFile uses a buffer internally and will return the raw buffer if no encoding is specified.
2010-05-06 22:22:14 -07:00
Ryan Dahl
62b642a88d
fix authors file
2010-05-06 14:15:16 -07:00
Ryan Dahl
d2415945c1
Install node_buffer.h on make install
2010-05-06 14:14:52 -07:00
Ryan Dahl
f711d5343b
bump version
2010-05-06 10:39:27 -07:00
Ryan Dahl
6aab6ebe61
Upgrade V8 to 2.2.8
2010-05-06 09:59:35 -07:00
Ryan Dahl
4ce1e1fca5
destroy instead of end http connection at end of pipeline
2010-05-06 09:15:44 -07:00
Thomas Lee
3674563dd5
Fix a bug in http.Client where parsers may be prematurely released back to the free pool.
2010-05-06 00:44:07 -07:00
Jonathan Knezek
82c8973dfa
Changed undefined pos to null to prevent hanging on SheevaPlug
2010-05-05 22:34:36 -07:00
Jonathan Knezek
874b80bd6a
Added c-ares headers for linux-arm
2010-05-05 22:33:53 -07:00
Ryan Dahl
ab723d022d
Add buffer response to http_simple.js
2010-05-04 22:35:55 -07:00
Ryan Dahl
1415650463
Use test port instead of 8000 in test-http-304
2010-05-04 22:06:46 -07:00
isaacs
c0d42b0365
Look in /usr/local/lib/node for modules, so that there's a way to install modules globally
2010-05-04 22:02:16 -07:00
Matt Ranney
eb4951d499
Add proper HTML header for changelog so UTF-8 works.
2010-05-04 21:36:10 -07:00
Ryan Dahl
453c9e6411
Fix whitespace
2010-05-04 21:35:46 -07:00
isaacs
3892628657
Emit a better error message when something strange is sent to OutgoingMessage#write
2010-05-04 18:37:00 -07:00
Ryan Dahl
d044e2de07
Lazy load crypto
...
The whole program is being slowed down by the large CA string in crypto.
Why?
2010-05-04 14:21:14 -07:00
Rhys Jones
afce4c3ae8
Added default CAs, updated openssl verify behaviour, added crypto and https documentation
2010-05-04 14:12:54 -07:00
Ryan Dahl
b6c5cf60b7
Ignore SIGPIPE
...
Was inadvertently removed with evcom,
c72967d335 (L10L1900)
2010-05-04 10:41:56 -07:00
Peter Griess
d9882395e2
Fix SEGV by setting msg_controllen earlier.
...
- Some implementations of CMSG_FIRSTHDR() rely on msg_controllen being
set correctly, else it returns NULL: see <linux/socket.h>.
2010-05-04 10:32:01 -07:00
Rhys Jones
1a317135c5
Additional OpenSSL tests
2010-05-03 16:15:06 -07:00
Paulo Matias
430cfd1825
Read all records to always empty the OpenSSL reading buffer.
2010-05-03 16:11:42 -07:00
Paulo Matias
3fed1cf36f
Make it possible to use client certificates to connect with a nodejs server, and make verifyPeer behaviour consistant.
2010-05-03 16:06:42 -07:00
Ryan Dahl
ea37d98949
Implement writeSync for buffers
...
(Needs tests still)
2010-05-03 13:26:09 -07:00
Ryan Dahl
3202bce288
Implement fs.readSync for buffers
2010-05-03 13:18:33 -07:00
Ryan Dahl
d76091d7d1
Implement fs.read() for Buffers (again)
2010-05-03 12:56:11 -07:00
Ryan Dahl
7a9c81d2dc
Fix memory leak with fs.writeSync
2010-05-03 11:41:30 -07:00
Ryan Dahl
b5bdf9434b
Add another http upgrade test
2010-05-03 11:23:36 -07:00
Ryan Dahl
f0fec7352a
Don't emit error twice from http.Client
2010-05-03 10:53:52 -07:00
Michaeljohn Clement
fd3e1ca3e2
documentation typos and tweaks
2010-05-03 00:15:35 -07:00
Ryan Dahl
48d58f92f1
Add symbols to release build
2010-05-02 18:20:02 -07:00
Ryan Dahl
d13f518010
Revert changes to node_file.cc
...
Revert "Fix memory leak in fs.writeSync()"
This reverts commit 5457eae28c
.
Revert "Implement fs.read() for buffers"
This reverts commit 692f580a07
.
2010-05-02 17:38:32 -07:00