Ryan Dahl
127f17a0ea
Remove should_verify from C++ - to handle in JS land
2010-12-01 12:47:49 -08:00
Ryan Dahl
28a86c3e56
Remove unnecessary call to X509_STORE_free
2010-12-01 09:27:13 -08:00
Ryan Dahl
504a80dc6d
Rename VerifyPeerError to VerifyError
2010-12-01 09:26:59 -08:00
Ryan Dahl
355936dcde
Implement SecureContext destructor
2010-11-30 18:19:54 -08:00
Ryan Dahl
ea540c94f8
Better verify info
2010-11-30 18:19:54 -08:00
Ryan Dahl
4b947310b2
Move root certs out of JavaScript
2010-11-30 18:19:54 -08:00
Ryan Dahl
486c74e72b
Revert "Default to TLSv1"
...
This reverts commit 97970b05fe
.
2010-11-30 11:33:05 -08:00
Ryan Dahl
70188499b0
Lazy load console object
2010-11-30 11:18:02 -08:00
Ryan Dahl
81afb54c0a
Fix comment
2010-11-30 11:04:31 -08:00
Ryan Dahl
db98d6e4e0
Remove assert in verify_peer; add comments
2010-11-30 10:55:04 -08:00
Bert Belder
5ea2a61596
win: Duplicate platform_cygwin.cc into platform_win32.cc
2010-11-29 23:49:29 -08:00
Ryan Dahl
711196cafa
Don't call exit() from the signal handler
...
Fixes issue #457
2010-11-29 16:19:28 -08:00
Ryan Dahl
b6face1dce
Remove unnecessary variable def
2010-11-29 15:04:39 -08:00
Ryan Dahl
97970b05fe
Default to TLSv1
2010-11-28 23:24:32 -08:00
Ryan Dahl
bf89872306
style
2010-11-28 23:20:59 -08:00
Ryan Dahl
be2457aaca
Use SSL_MODE_RELEASE_BUFFERS by default.
2010-11-28 21:03:41 -08:00
Tom Hughes
6285fac232
Allocations with new[] must be freed with delete[].
...
See http://valgrind.org/docs/manual/mc-manual.html#mc-manual.rudefn
2010-11-24 12:53:28 -08:00
Tom Hughes
7fcfb7b981
Fix memleak in ChildProcess:Spawn().
2010-11-24 12:51:46 -08:00
Ryan Dahl
b57c1f51b9
Saner, yet still ugly, fix to displaying syntax errors
2010-11-23 18:46:13 -08:00
Wade Simmons
03e5da8429
Fix ErrnoExceptions that have the wrong syscall name
2010-11-23 14:09:16 -08:00
Ryan Dahl
f123a1ab40
hack to display syntax errors. FIXME
2010-11-22 17:55:04 -08:00
Tom Hughes
446beebd79
Add cmake build support.
...
Squashed commit of ca128f7dcd28cbcfba154c8577ed54d4aa71dd02 with
contributions from Mark Constable (markc@renta.net ) and Daniel Gröber
(darklord@darkboxed.org ).
2010-11-22 13:32:49 -08:00
isaacs
b52b4196ab
Fix problem with requireNative not exporting 'module' object
...
Broke require('constants'). Add unrelated test which breaks it.
2010-11-22 11:55:31 -08:00
Ryan Dahl
12554380d5
Add support for SSDP methods -_-
2010-11-21 21:44:23 -08:00
Ben Noordhuis
611dffabb6
Support CNAME lookups in DNS module.
2010-11-21 20:53:57 -08:00
Ryan Dahl
7b2f5ab7f8
Fix mac build
2010-11-21 20:33:04 -08:00
Ben Noordhuis
f0b8cc6a94
require() should work with `node --eval`.
...
with tests
Fix module path resolve bug. Normally the module path is taken from
realpath(__filename) but with eval there is (of course) no filename
2010-11-21 20:24:26 -08:00
Ben Noordhuis
80b5a52217
Fix compiler warnings.
2010-11-21 19:11:05 -08:00
Herbert Vojčík
3422263414
requireNative made independent on module system
2010-11-21 18:17:44 -08:00
Ryan Dahl
f6479f2fb6
Print deprecation warning on process.compile
2010-11-21 15:22:08 -08:00
Ryan Dahl
a16b3c3148
Use runInNewContext instead of process.compile
2010-11-21 15:16:02 -08:00
Ryan Dahl
b1088d6bd2
Load 'path' module with requireNative
...
(now that requireNative does not depend on path module)
2010-11-21 15:07:38 -08:00
Ryan Dahl
bb6d468dd8
requireNative doesn't depend on rest of module system
2010-11-21 15:06:20 -08:00
Ryan Dahl
c11f3f8b0f
simplify lazy constant loading
2010-11-21 14:20:22 -08:00
Ryan Dahl
5890272538
Print friendly error message when main module is ENOENT
2010-11-21 13:58:47 -08:00
Ryan Dahl
2320497992
Revert "Merge branch 'writev'"
...
This reverts commit cd9515efd9
, reversing
changes made to df46c8e698
.
Too slow. Needs more work.
2010-11-20 20:55:15 -08:00
Ryan Dahl
794e7be4f8
Revert "Actually don't need to limit sendmsg size on unix - seems okay."
...
This reverts commit 464ced4a86
.
2010-11-20 20:45:30 -08:00
Ryan Dahl
d42098651b
Revert "fd_to_send needs to be cleared if *any* data was sent"
...
This reverts commit a93634007a
.
2010-11-20 20:45:22 -08:00
Ryan Dahl
56074d1056
Inline Buffer::Length and Buffer::Data
2010-11-20 00:04:22 -08:00
Ryan Dahl
a93634007a
fd_to_send needs to be cleared if *any* data was sent
2010-11-19 23:05:13 -08:00
Ryan Dahl
464ced4a86
Actually don't need to limit sendmsg size on unix - seems okay.
2010-11-19 22:52:20 -08:00
Ryan Dahl
7515360951
fix style for SecureStream::IsInitFinished
2010-11-19 12:58:00 -08:00
Ryan Dahl
0b1214c16b
Fix a bug regarding queueSize, add asserts
2010-11-18 16:47:38 -08:00
Ryan Dahl
3884b4185a
Small clean ups
2010-11-18 16:47:38 -08:00
Ryan Dahl
42357645cb
Dump after ev_loop
2010-11-18 16:47:38 -08:00
Ryan Dahl
d3fbe3e3d1
Emit drain and stop IOWatcher even on empty buffer
2010-11-18 16:47:38 -08:00
Ryan Dahl
fa556a1425
Add callback to socket.write(), fix test-sendfds
2010-11-18 16:47:38 -08:00
Ryan Dahl
a6d8425382
make sure unix sockets are tagged correctly
2010-11-18 16:47:38 -08:00
Ryan Dahl
10ff559ec3
Add IOWatcher.flush()
...
To be called if sockets get too much data. This is to force a flush before
the tick ends.
2010-11-18 16:47:37 -08:00
Ryan Dahl
7c3c5c6861
Maintain queueSize for each socket
2010-11-18 16:47:37 -08:00