Ryan Dahl
60ad3aa917
Disable test-tls-large-push, taking too long
2011-02-15 14:06:23 -08:00
Ryan Dahl
97f7c06451
TLS: fix throttling
...
Re-enable test-https-large-response.js
Closes GH-614.
2011-02-03 12:20:19 -08:00
Ryan Dahl
41b4ec7952
TLS: flush buffer before destroy
...
Also disable test-https-large-response.js. Covered by
test/simple/test-tls-throttle.js
2011-02-02 15:34:21 -08:00
isaacs
435ece5058
child_process: Support setting uid/gid by name
2011-01-11 13:54:51 -08:00
isaacs
6f5d95de6d
child_process: Add gid/uid flags to spawn config
...
This is mostly working, but not completely ideal for two reasons.
1. Rather than emitting an error on the ChildProcess object when the
setgid/setuid fails, it is simply printing the error to stderr and
exiting. The same happens with the cwd, so that's not completely
terrible.
2. I don't have a good test for this. It fails with an EPERM if you try
to change the uid or gid as a non-root user.
2011-01-11 10:02:58 -08:00
Ryan Dahl
5138992f3c
Add some verification code to tls.connect()
2010-12-09 02:46:57 -08:00
Ryan Dahl
2ca63c8f79
Initial implementation of tls.connect()
...
Seems to work checkout test/disabled/tls-client.js
Type "GET /" after connected.
2010-12-09 00:38:12 -08:00
Ryan Dahl
5bca100afe
Server must not request cert.
2010-12-05 18:13:20 -08:00
Oleg Efimov
093dfaf801
GJSLint all tests, only 3 long lines left in test-url.js
...
test/simple/test-url.js:31:(0110) Line too long (82 characters).
test/simple/test-url.js:39:(0110) Line too long (85 characters).
test/simple/test-url.js:40:(0110) Line too long (92 characters).
2010-12-05 15:42:41 -08:00
Ryan Dahl
a0159b4b29
Fix global leaks
2010-12-04 15:58:50 -08:00
Ryan Dahl
d8f2880ca4
New TLS server API
2010-12-01 13:00:17 -08:00
isaacs
a52f59b437
Use a proper tty test.
2010-11-27 11:36:34 -08:00
Ben Noordhuis
611dffabb6
Support CNAME lookups in DNS module.
2010-11-21 20:53:57 -08:00
Ryan Dahl
df46c8e698
Rip out the old TLS implementation
2010-11-18 16:46:37 -08:00
Ryan Dahl
2219c64a04
fix race in test-http-big-proxy-responses.js
2010-11-18 13:50:54 -08:00
Ryan Dahl
ee8522996a
Enable pipe test
2010-10-11 16:08:53 -07:00
Ryan Dahl
1879d8211d
Remove sys in new tests
2010-10-11 16:07:18 -07:00
Micheil Smith
e38eb0c5a4
Soft migration of sys -> util, Removal of deprecated utils module.
2010-10-11 15:21:36 -07:00
Ryan Dahl
2944e03a03
Closer to a working pipe
2010-10-11 01:22:38 -07:00
Ryan Dahl
1d3142a882
TCP clients should buffer writes before connection
2010-10-10 23:09:14 -07:00
Ryan Dahl
81ac0d5088
pipe-test fixes
2010-10-10 22:10:47 -07:00
Ryan Dahl
393f0071e4
Improve pipe-test. Still not working
2010-10-10 20:18:47 -07:00
Ryan Dahl
bc695475b9
Add Stream base class with stream.pipe
2010-10-10 17:27:03 -07:00
Joshaven Potter
3d4e4d8909
syntax fixes to pass jslint
2010-10-06 20:40:57 -07:00
Tony Metzidis
debf389490
Catch Exceptions thrown when openssl is disabled
2010-09-13 12:04:31 -07:00
Herbert Vojčík
cf2b206a8e
More changes to tests so they really work under context module loader.
...
Plus, getting rid of test/common.js defining things in global.
2010-08-17 08:41:05 -07:00
Herbert Vojčík
32e309440f
Fix of 'sys.common.debug' calls in tests.
2010-08-17 08:08:36 -07:00
Rasmus Andersson
758f12f34c
added read and write support for process.title Darwin
...
This will only manipulate the OS X-level process name, not the title shown
in e.g. ps.
2010-08-12 16:23:41 -07:00
Ryan Dahl
9fd5e3c89c
Update tests to work with module contexts
2010-07-15 14:21:31 -07:00
Blake Mizerany
8c8534046c
fix whitespace errors
2010-06-29 23:59:24 -07:00
Ryan Dahl
ba792ea202
:%s/sys.puts/console.log/g
...
and there was much rejoicing
2010-06-23 20:05:29 -07:00
Peter Griess
2420f07e94
Allow process.setuid() and process.setgid() to accept string names in lieu of numeric IDs
2010-05-18 17:41:10 -07:00
Jonas Pfenniger
4274e6b7d0
FIX: signal-unregister bug
...
We now restore the default signal behavior when all listeners are
removed for a given signal.
Re-enabled test-signal-unregister
2010-05-14 19:05:19 -07:00
Ryan Dahl
67eeedd602
Disable test-signal-unregister.js as functionality doesn't exist yet
2010-05-12 12:45:53 -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
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
301b44d45d
Chunk strings together on Stream buffer
2010-04-29 12:00:37 -07:00
Ryan Dahl
c7b3c1ecbc
Add more asserts to test-http-big-proxy-responses
2010-04-26 20:26:36 -07:00
Jérémy Lal
0802326fc9
test-dns so that NXDOMAIN does not rise errors
2010-04-26 15:09:03 -07:00
Jérémy Lal
5caf53a053
Add support for MX queries in dns module, works with c-ares upstream patch.
2010-04-26 15:09:03 -07:00
Rhys Jones
3510669db2
Fixed ssl client and server examples
2010-04-15 20:03:55 +01:00
Rhys Jones
e6a1091cc6
Merge branch 'master' into openssl
2010-04-15 10:56:42 +01:00
Ryan Dahl
d2e1b0855f
Move two broken tests to disabled folder
2010-04-15 01:37:27 -07:00
Rhys Jones
d27d6dcc6f
Merge branch 'master' into openssl
2010-04-15 06:21:15 +01:00
Rhys Jones
144200435f
Merge branch 'master' into openssl
...
Conflicts:
lib/net.js
wscript
2010-04-14 07:31:33 +01:00
Ryan Dahl
a934566eb9
Disable test-idle-watcher
...
IdleWatcher was disabled in a98d23d905
2010-04-13 16:57:19 -07:00
Ryan Dahl
d923c94a0c
Remove udns
2010-04-07 18:25:37 -07:00
Krishna Rajendran
96df65e88e
Make test-dns.js use dns_cares.
2010-04-07 01:29:20 -07:00
Rhys Jones
c55c0a1fca
Add SSL tests
2010-04-02 17:14:03 -07:00
Ryan Dahl
025116f8d0
Move Buffer into own module
2010-03-19 20:58:24 -07:00