Ryan Dahl
b9106b0ecd
Use AF_INET sockets instead of always AF_INET6
You can get AF_INET6 still, it's just not the only choice.
15 years ago
Ryan Dahl
fdae14070c
Move buffer constants at the top of net.js
Remove some cruft.
15 years ago
Ryan Dahl
e232cf3100
Hack to support UTF8 writes again!
15 years ago
Ryan Dahl
3197cf291d
Better flushing
Lost Utf8 support. Waiting for http://codereview.chromium.org/1539013
15 years ago
Tim Caswell
7af9cb9e80
Don't put an extra comma after bases in inspect.
{ [Function] { [Function]
, more: true => more: true
, more2: true , more2: true
, more3: true , more3: true
, more3: true , more4: true
, more3: true , more5: true
} }
15 years ago
Ryan Dahl
4279725d79
Fix thread flags on Solaris
Also on other platforms use -pthread for compiling commands not just
linking because I noticed in the gcc(1) man page
-pthread
Adds support for multithreading with the pthreads library. This
option sets flags for both the preprocessor and linker.
Removing the errno check in deps/coupling because it was a hack
(e165859c2e
) added to fix stdio problems.
Without adding -threads, errno is not thread local, and coupling was not
correctly checking the errno. It appears -mt does nothing to gcc/solaris.
15 years ago
Ryan Dahl
d52f63d9b2
fix whitespcae in deps/coupling
15 years ago
Johan Dahlberg
18de108e4c
Bugfix: watchFile, unwatch, watch causes error
Fixed bug that caused application to cast a "TypeError: Cannot call method
'addListener' of undefined" when first watching a file, unwatching and then
watching same file again.
15 years ago
Ryan Dahl
aec80d47bb
Better check for FDs in net2 bindings
15 years ago
Herbert Vojcik
da16128bf6
missing return after forceClose
15 years ago
Herbert Vojcik
9e97e185ad
EAI_NODATA deprecated, patch to use EAI_NONAME if missing (it is in FreeBSD)
15 years ago
Ryan Dahl
52b295400d
Revert "Upgrade V8 to 2.2.0"
Experiencing strange errors on all platforms due to this commit. EG
http://buildbot.nodejs.org:8010/builders/Linux%20AMD64/builds/107/steps/shell_2/logs/stdio
This reverts commit 40ea061c30
.
15 years ago
Matt Ranney
7c77a56b4a
Improve documentation.
15 years ago
Ryan Dahl
40ea061c30
Upgrade V8 to 2.2.0
15 years ago
Ryan Dahl
d1b78c3f5d
More efficient Stream.write
15 years ago
Ryan Dahl
aa6a785286
Add note about where to find ronn
15 years ago
Tim Caswell
179f718d62
Conversion to markdown based API docs.
With help from Matt Ranney <mjr@ranney.com>
15 years ago
Ryan Dahl
6ecdeada49
Remove -Werror on V8 -_-
15 years ago
Ryan Dahl
6192b8659a
Upgrade V8 to 2.1.10
15 years ago
Ryan Dahl
bb00fef3cd
Change Buffer.toString to conform to CommonJS Binary/F
Also add Buffer.inspect
15 years ago
Ryan Dahl
7ed80451ca
Increase pool.used before making 'data' event
15 years ago
Ryan Dahl
a49bf8622f
Finish V8 update
15 years ago
Ryan Dahl
48f5f77713
Update to V8 2.1.9.1
15 years ago
Ryan Dahl
6740dd48b3
Change Buffer toString() output
15 years ago
Ryan Dahl
3546106c43
Add req.connection and res.connection
15 years ago
Ryan Dahl
6f21ac1282
Don't free http parser for the client!
Fixes test-http-client-race.js, test-http.js
15 years ago
Ryan Dahl
5c6f063ef2
snake to camel in HTTP
15 years ago
Ryan Dahl
70ffdf5db9
Fix HTTP keep-alive
15 years ago
Ryan Dahl
6b6dcf4aad
Move test-child-process-spawn-loop to pummel/
15 years ago
Ryan Dahl
218d7e9f2d
Clean up NODE_DEBUG detection
It wasn't detecting if NODE_DEBUG=0
15 years ago
Ryan Dahl
8e9ec4abea
Fix idle timeouts
Remove process.now because it doesn't provide enough precision.
15 years ago
Ryan Dahl
3238944c7a
Don't use sys.puts for debug in net.js
15 years ago
Ryan Dahl
a01d8a0d68
Timer clean ups
Also bugfix getting pointer to C++ class in watcher
15 years ago
Ryan Dahl
b35d72df76
Upgrade V8 to 2.1.7
15 years ago
isaacs
6e603ccbe2
Fix debug statement that was using puts instead of debug()
15 years ago
arlolra
6f84063a3b
Migrates benchmarks to the new api.
15 years ago
Ryan Dahl
54d4efd44b
Upgrade http-parser
Now at version 6f72c780f0a237a775150a9963bcdf5299685cde
15 years ago
Ryan Dahl
765f0cdece
Fix ChildProcess::Kill
15 years ago
Ryan Dahl
bfdc421dda
Don't kill negative PIDs
Fixes issue GH-79.
15 years ago
Ryan Dahl
069099a3e3
Remove old test file
15 years ago
Ryan Dahl
c66a0a739f
recvBuffer -> pool
15 years ago
Ryan Dahl
cc053e7df7
Merge branch 'net2'
Expect instability on the master branch for a while.
Problems:
- Documentation is not yet updated
- SSL support is gone! It needs to be redone for net.js. Use 'tcp_old'
and 'http_old' if you need it. I want to use OpenSSL now, talk to me if
you'd like to work on it.
- fs.write() supports Buffers a little. See src/node_file.cc for details
fs.read() not yet. The file streams need to be updated to handle Buffer.
- The Buffer API will probably change.
15 years ago
Ryan Dahl
04001fb591
Don't deprecate readyState, yet
15 years ago
Ryan Dahl
ebe2721cbf
Don't use sys.debug, it gets preprocessed out
Problem introduced in b29f78772e
15 years ago
Ryan Dahl
903977d5e8
Merge branch 'master' into net2
Conflicts:
test/simple/test-event-emitter-modify-in-emit.js
15 years ago
Ryan Dahl
139c91e892
Support old 'binary' encoding in net.js
15 years ago
Ryan Dahl
663269f687
old tcp module is now tcp_old
15 years ago
Ryan Dahl
618296ef57
bump version
15 years ago
Ryan Dahl
025116f8d0
Move Buffer into own module
15 years ago
Zoka
b29f78772e
Eliminate debug(x) statements from src/node.js and lib/*.js for release build
http://groups.google.com/group/nodejs/browse_thread/thread/8f20bcef6d6d96b7
15 years ago