isaacs
9bed5dcb2c
Support caching for realpath, use in module load
This adds support for a cache object to be passed to the
fs.realpath and fs.realpathSync functions. The Module loader keeps an
object around which caches the resulting realpaths that it looks up in
the process of loading modules.
This means that (at least as a result of loading modules) the same files
and folders are never lstat()ed more than once. To reset the cache, set
require("module")._realpathCache to an empty object. To disable the
caching behavior, set it to null.
14 years ago
Ryan Dahl
9de5043b50
tls: only emit data after 'secure' event
14 years ago
Bert Belder
38d8cd60ea
Don't make unnecessary getcwd calls from path.resolve
14 years ago
Ryan Dahl
6b50a9f5f4
(won't) fix test-next-tick-ordering
14 years ago
Ryan Dahl
448e0f4394
tls fixes
14 years ago
Bert Belder
61af4207da
Fix dns on windows
14 years ago
Ryan Dahl
3ec030535c
stderr should be EventEmitter even if it doesn't emit anything
14 years ago
isaacs
2e6a263e29
Closes GH-609 Support array-ish args to Buffer ctor
Any array-ish thing (whether a Buffer, an Array, or just an object with
a numeric "length") is interpreted as a list of bytes.
14 years ago
isaacs
5f2e90934e
Support octal strings for modes
This allows the various fs utilities and process.umask to be used in
ECMAScript 5 Strict Mode, where the octal literal format is verboten,
without requiring users to litter their code with a bunch of parseInt
calls.
14 years ago
Ryan Dahl
57fa247f53
Closes GH-645. Document tty.getWindowSize
14 years ago
Konstantin Käfer
9e101f2b01
UCS-2 support
Closes GH-644.
14 years ago
Ryan Dahl
bf8f4aa966
Impove fs.WatchFile doc
14 years ago
Russell Haering
e6ede31554
http: fix buffer writes to outgoing messages
14 years ago
Daniel Gröber
71a8a3b78c
cmake fixes
Closes GH-640.
14 years ago
Ryan Dahl
a98d0717e8
Remove incorrect doc about node_modules
14 years ago
isaacs
da2f4b2dc4
support for package.json
This adds basic support for situations where there is a package.json
with a "main" field. That "main" module is used as the code that is
loaded when the package folder is required.
14 years ago
koichik
45c0faf399
corrected small typos
14 years ago
Mikeal Rogers
2b03ba5917
http: agent takes options instead of host, port pair
14 years ago
Ryan Dahl
0da96cca59
typo
14 years ago
Ryan Dahl
30f24bb2df
Now working on v0.4.0
14 years ago
Ryan Dahl
9493b7563b
Bump version to v0.3.8
14 years ago
Ryan Dahl
4733d0b1f0
http: handle aborts
14 years ago
Ryan Dahl
c783aefb0f
http-parser: Error on EOF errors
14 years ago
Ryan Dahl
e42c74e141
Upgrade http-parser
14 years ago
Bert Belder
f99fc29e62
Fix mingw build
14 years ago
Bert Belder
6329633a3e
Windows: open files in binary mode
14 years ago
Ryan Dahl
aa95e5708f
Expose errno with a string.
14 years ago
Ryan Dahl
1a7830a92a
Fix debug flag in timers.js
14 years ago
Ryan Dahl
c10caca34c
Style
14 years ago
isaacs
2f1f22ab26
module: define functions only once.
14 years ago
Bert Belder
8ee9c53c77
Fix problem with libev/select on windows.
Patch by Marc Lehmann.
This fix should be included in the next libev release.
14 years ago
Bert Belder
d8d627e2d4
Revert "Workaround for libev handle caching bug on windows"
This reverts commit 25d0e38048
.
14 years ago
Ryan Dahl
bc23ec8d05
Add process.stderr stream
14 years ago
Ryan Dahl
f6e5b8986f
Clean up
14 years ago
Ryan Dahl
97f7c06451
TLS: fix throttling
Re-enable test-https-large-response.js
Closes GH-614.
14 years ago
Ryan Dahl
3e58696c07
TLS: Simplify error handling
14 years ago
Ryan Dahl
41b4ec7952
TLS: flush buffer before destroy
Also disable test-https-large-response.js. Covered by
test/simple/test-tls-throttle.js
14 years ago
Ryan Dahl
e6f14d6df5
(suck, blow) -> (pull, push)
14 years ago
Ryan Dahl
ee092f62ca
Upgrade V8 to 3.1.1
14 years ago
isaacs
f86ec1366f
Closes GH-619 Make require.main be the main module
14 years ago
Ryan Dahl
807fca6803
TLS: Set ssl.receivedShutdown after each read
Closes GH-613.
14 years ago
Ryan Dahl
2ff593ad23
TLS: better error reporting at binding layer
Closes GH-612.
14 years ago
Jorge Chamorro Bieling
ff7fc093a1
Longer nexttick ordering test
Closes GH-604.
14 years ago
Joe Walnes
df6e497793
dgram: setMulticastTTL, setMulticastLoopback and addMembership.
These are options needed for real-world multicasting.
Implementation notes:
- POSIX only.
- IPv4 only (IPv6 multicast is a tricky beast).
- Didn't update tests, because it can't effectively be demonstrated on
localhost only.
14 years ago
Ryan Dahl
3e5b568504
TLS: Add _pendingBytes()
14 years ago
Ryan Dahl
33e8e3d799
Add simpler failing tls throttle test
14 years ago
Ryan Dahl
45b30a879b
tls: superficial clean up
14 years ago
Bert Belder
9526fef626
Workaround for V8 bug 884
See http://code.google.com/p/v8/issues/detail?id=884
14 years ago
Ryan Dahl
0634e3a8bc
Upgrade V8 to 3.1.0
14 years ago
Ryan Dahl
c501785112
Make availability of UDP bindings more apparent
14 years ago