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
Ryan Dahl
99984772df
Allow different ports for http_simple.js
2010-05-02 17:26:18 -07:00
Ryan Dahl
5457eae28c
Fix memory leak in fs.writeSync()
2010-05-02 17:02:13 -07:00
Ryan Dahl
61364f9443
GnuTLS -> OpenSSL on website
2010-05-02 11:19:01 -07:00
dpb587
a1f23c1aa1
Fix a couple mistypes in API doc
2010-05-01 19:16:00 -07:00
Micheil Smith
3db613e31a
Documenting http.Server#event:upgrade
2010-05-01 19:15:50 -07:00
Micheil Smith
aee226b243
Fixing the 1 byte off error in http.Server's upgradeHead
...
(And fix up some style issues)
2010-05-01 18:05:53 -07:00
Ryan Dahl
67fb0ece6b
Fix deprecation message
2010-05-01 14:45:14 -07:00
Micheil Smith
d6110fbd11
Making requestListener for the construction of a http.Server optional, as it is for net.Server
2010-05-01 11:56:00 -07:00
Micheil Smith
f990f24ad3
Implementing the event emit for Upgrade requests, with tests.
2010-05-01 11:52:40 -07:00
Ryan Dahl
692f580a07
Implement fs.read() for buffers
2010-04-30 18:36:36 -07:00
kriskowal
8d1f1186ca
Fixed/Completed buffer copy range checks.
2010-04-30 17:36:21 -07:00
Ryan Dahl
20372d2df3
Fix docs in node_file.cc
2010-04-30 15:35:51 -07:00
Ryan Dahl
285c5ed36f
Fix some styling in the docs
2010-04-30 10:33:56 -07:00