Alexis Campailla
b5f9779c2f
windows: fix module registration
The linker was optimizing the static variables that were supposed
to trigger module initialization.
I am making them non-static, and dllexport so that they don't get
optimized away.
Fixes #7116
11 years ago
Alexis Campailla
2ca4d9d662
net: fix listening on FDs on Windows
Fix a bug introduced by 3da36fe
of a missed early return of a handle
that needed to be passed to listen.
Fixes test-net-listen-fd0.js on Windows
11 years ago
Timothy J Fontaine
98a0909da0
test: internet/test-dns disable implicit ipv6
This ends up being too difficult to test across different deployments
11 years ago
Timothy J Fontaine
67dfcd55be
test: pummel/net-connect-econnrefused backoff
We were trying too hard to connect, and getting timeouts instead of
the refusals, slow down how hard we try.
11 years ago
Timothy J Fontaine
bfc823de90
benchmark: update to use new wrk
11 years ago
Timothy J Fontaine
fa0ac99541
wrk: compile on sunos
11 years ago
Timothy J Fontaine
581b8585eb
wrk: build against our distributed ssl
11 years ago
Timothy J Fontaine
407e295f43
tools: wrk update to 5b2fa06
11 years ago
Timothy J Fontaine
d2952cce36
test: migrate pummel/keep-alive to wrk
11 years ago
Timothy J Fontaine
de56ffa58b
test: pummel/*ci-reneg* handle EPIPE
When calling out to the openssl client handle the child closing and
returning EPIPE on writes
11 years ago
Timothy J Fontaine
265fdc8e91
test: internet/test-dns handle ESERVFAIL
ESERVFAIL is also an acceptable error code when failing to resolve a
domain.
11 years ago
Timothy J Fontaine
78a854f872
test: move pummel/test-fs-largefile to disabled
This test is particularly pathological, and requires a ton of time to
run, we need to find a better way to manage it but in general this path
is fairly safe these days.
11 years ago
Timothy J Fontaine
95bb347d6c
test: pummel/test-net-throttle adhere to streams
bufferSize is now a getter that shows all that has not been
acknowledged by the os, as well as in the buffer state. The test is
only looking to verify the js verified state.
11 years ago
Timothy J Fontaine
3a3b7488b5
test: pummel fs-watch-file-slow handle spurious
watch file will now generate an empty event when the file doesn't exist
initially
11 years ago
Timothy J Fontaine
e324717f8d
test: remove next-tick-loops-quick
Scheduling of next ticks from within the next tick handler will result
in a tight execution loop where a timer cannot break into.
This test was invalid
11 years ago
Alexis Campailla
440b9e2245
src: node.cc use isolate->ThrowException
Environment doesn't have ThrowException, we meant isolate here.
Introduced in commit
75adde07f9
.
11 years ago
Timothy J Fontaine
af1418325b
test: backoff client connection rates
We were being very aggressive in our connection creations, resulting
in the pipeline flood detection to drop us. Relax how fast we're
creating these connections so the gc can run all its tests.
11 years ago
Fedor Indutny
dbae8b569f
node_internals: add missing env-inl.h include
11 years ago
Fedor Indutny
75adde07f9
src: remove `node_isolate` from source
fix #6899
11 years ago
Nathan Rajlich
e746bbdc2b
debugger: don't set the `repl.prompt` string
It wasn't doing anything, and actually due to
3ae0b17c76
, it was causing
the readline `prompt()` function to be overwritten
which throws an error in the REPL shortly after.
11 years ago
David Björklund
b105997193
http: avoid duplicate keys in writeHead
Use setHeader in writeHead to avoid sending duplicate headers
Fixes #5036
11 years ago
Timothy J Fontaine
845e5d3458
Merge remote-tracking branch 'upstream/v0.10'
Conflicts:
AUTHORS
ChangeLog
deps/uv/AUTHORS
deps/uv/ChangeLog
deps/uv/build.mk
deps/uv/src/unix/linux-core.c
deps/uv/src/unix/stream.c
deps/uv/src/unix/sunos.c
deps/uv/src/version.c
src/node_version.h
11 years ago
Timothy J Fontaine
085db9dd6c
tools: update to support separate website repo
11 years ago
Timothy J Fontaine
ae418f974d
Now working on v0.10.27
11 years ago
Timothy J Fontaine
0206925b0d
Merge branch 'v0.10.26-release' into v0.10
11 years ago
Timothy J Fontaine
cc56c62ed8
build: readd missing installer resources
This were accidentally moved during the website refactor
11 years ago
Timothy J Fontaine
31c510ca88
2014.02.18, Version 0.10.26 (Stable)
* uv: Upgrade to v0.10.25 (Timothy J Fontaine)
* npm: upgrade to 1.4.3 (isaacs)
* v8: support compiling with VS2013 (Fedor Indutny)
* cares: backport TXT parsing fix (Fedor Indutny)
* crypto: throw on SignFinal failure (Fedor Indutny)
* crypto: update root certificates (Ben Noordhuis)
* debugger: Fix breakpoint not showing after restart (Farid Neshat)
* fs: make unwatchFile() insensitive to path (iamdoron)
* net: do not re-emit stream errors (Fedor Indutny)
* net: make Socket destroy() re-entrance safe (Jun Ma)
* net: reset `endEmitted` on reconnect (Fedor Indutny)
* node: do not close stdio implicitly (Fedor Indutny)
* zlib: avoid assertion in close (Fedor Indutny)
11 years ago
Anton Khlynovskiy
1fa5cff4f2
docs: clarify process.stdin and old mode
12 years ago
Pedro Ballesteros
1d734a75b5
doc: stdout blocking or non-blocking behaviour
Makes clear that the behaviour of stdout is blocking
in Linux/Unix even when they refer to pipes.
11 years ago
Timothy J Fontaine
3e6e63406d
test: make test-net-error-twice less racey
11 years ago
Timothy J Fontaine
c2aea3747d
uv: Upgrade to v0.10.25
11 years ago
Raynos
abbde2fafa
doc: mention objectMode for Writable streams
12 years ago
Xidorn Quan
ae02992872
os: networkInterfaces include scopeid for ipv6
11 years ago
Timothy J Fontaine
937e2e351b
child_process: execFileSync stderr should inherit
If you don't set your options.stdio for execSync and execFileSync
capture and write to stderr of the parent process by default.
Fixes #7110
11 years ago
Timothy J Fontaine
59baab2776
net: add localPort to connect options
Expose localPort for binding to a specific port for outbound
connections.
If localAddress is not specified '0.0.0.0' is used for ip4 and '::'
for ip6 connections.
Fixes #7092
11 years ago
Brian White
a226be4f76
crypto: allow custom generator for DiffieHellman
11 years ago
Timothy J Fontaine
466a9b5c78
Merge remote-tracking branch 'upstream/v0.10'
Conflicts:
src/node_zlib.cc
11 years ago
Farid Neshat
562b015170
debugger: Fix breakpoint not showing after restart
The reason this wasn't working was because after restart, when restoring
breakpoints the scripts wasn't loaded, so the breakpoint.script was
undefined. As a fix I added another check to use breakpoint.scriptReq
instead of breakpoint.script, which is the same except when the
breakpoint is a function.
fixes #7027
11 years ago
Timothy J Fontaine
e5eadcfa19
build: don't enable gc-sections
In some scenarios this will strip the DOF sections for DTrace, and in a
future world where we re-export all static libraries it would defeat
that purpose.
11 years ago
isaacs
217bb0c964
npm: upgrade to 1.4.3
11 years ago
Timothy J Fontaine
c0d73e6de1
lint: fix missing semi colon in repl
11 years ago
Yazhong Liu
cfe0bab85b
readline: fix `line` event, if input emit 'end'
If an input stream would emit `end` event, like
`fs.createReadStream`, then readline need to get the last line
correctly even though that line isnt ended with `\n`.
11 years ago
Yazhong Liu
c980280159
repl: remove a unnecessary concatenation
11 years ago
Yazhong Liu
3ae0b17c76
repl: REPLServer inherits from readline.Interface
This exposes a setPrompt for and other readline features
11 years ago
Fedor Indutny
7589a0007c
crypto: make NewSessionDoneCb public
Generic friend classes do not work well with old compiler versions (and
MSVC).
11 years ago
Fedor Indutny
829a9b8cba
zlib: introduce pending close state
zlib should not crash in `close()` if the write is still in progress.
fix #7101
11 years ago
Fedor Indutny
75ea11fc08
tls: introduce asynchronous `newSession`
fix #7105
11 years ago
Timothy J Fontaine
a4436bab7b
dgram: pass the bytes sent to the send callback
Fixes #6953
11 years ago
Ben Noordhuis
3421d29d63
v8: unbreak freebsd build
reland de8c0a5
Fixes #7020 and #7021
11 years ago
Fedor Indutny
940abd0b19
test: fix tls-honorcipherorder slowness
End accepted stream to prevent client fd from hanging in FIN_WAIT_1
state. The 30 second delay was caused by default non-zero SO_LINGER.
11 years ago