summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* net_uv: handle read errorsRyan Dahl2011-08-221-1/+4
|
* Fixes #1531Mikeal Rogers2011-08-222-7/+18
|
* Fix #1546 some more. Remove expensive debug call.Ben Noordhuis2011-08-171-1/+0
|
* Merge remote branch 'origin/v0.4'Ryan Dahl2011-08-171-1/+0
|\ | | | | | | | | Conflicts: doc/api/tls.markdown
| * Fixes #1546. Remove expensive debug call.Ryan Dahl2011-08-171-1/+0
| |
| * net: defer DNS lookup error events to next tickBen Noordhuis2011-08-121-1/+7
| | | | | | | | | | | | | | | | | | | | net.createConnection() creates a net.Socket object and immediately calls net.Socket.connect() on it. There are no event listeners registered yet so defer the error event to the next tick. Fixes #1202.
| * Fix #1497 querystring: Replace 'in' test with 'hasOwnProperty'isaacs2011-08-111-1/+1
| |
* | http: improve compatibility of legacy APIkoichik2011-08-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | In http1, legacy http.Client shares one connection with multiple requests. But in http2, it uses concurrent connections. With --use-http1, test/simple/test-http-legacy.js passes. However, it fails without --use-http1 (use http2). This improves compatibility of legacy http.Client API between http1 and http2. Fixes #1530.
* | Remove http.cat. fixes #1447Mikeal Rogers2011-08-161-82/+0
| |
* | util: isRegExp() should not call toString() on its argumentNathan Rajlich2011-08-151-9/+2
| | | | | | | | | | An overloaded toString() method may have side effects so don't call it for a simple type check.
* | path.js: correct three harmless .length typosThomas Shinnick2011-08-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | lib/path.js routines normalizeArray() and resolve() have for loops that count down from end of an array. The loop indexes are initialized using "array.length" rather than "array.length-1". The initial array element accessed is always beyond the end of array and the value is 'undefined'. Strangely, code exists that acts to ignore undefined values so that the typos are unnoticeable. Existing tests emit no errors either before or after changing to "length-1". Tests _do_ start failing at "length-2". (Actually it is node that starts to fail at "length-2" - that's a valid enough test...)
* | crypto: PBKDF2 function from OpenSSLGlen Low2011-08-121-0/+3
| |
* | Incorporate endianness into buffer.read* function names instead of passing ↵Brian White2011-08-122-211/+269
| | | | | | | | in a boolean flag
* | net: defer DNS lookup error events to next tickBen Noordhuis2011-08-122-2/+14
| | | | | | | | | | | | | | | | | | | | net.createConnection() creates a net.Socket object and immediately calls net.Socket.connect() on it. There are no event listeners registered yet so defer the error event to the next tick. Fixes #1202.
* | net_uv: resume on closed net.Socket shouldn't crashRyan Dahl2011-08-111-1/+3
| |
* | Fix #1497 querystring: Replace 'in' test with 'hasOwnProperty'isaacs2011-08-111-1/+1
| |
* | http: destroy socket on errorBen Noordhuis2011-08-111-0/+1
| | | | | | | | | | | | | | Needs further investigation, the test passed without `--use-uv`. Fixes failing test: test/simple/test-http-dns-fail.js
* | net_uv: pipes don't have getsocknameRyan Dahl2011-08-111-3/+5
| |
* | net: properly export remoteAddress to user landBen Noordhuis2011-08-112-1/+18
| | | | | | | | | | Fixes failing test: test/simple/test-net-remote-address-port.js
* | tcp: propagate libuv tcp accept() errors to net_uv.jsBen Noordhuis2011-08-111-0/+5
| |
* | net_uv: Handle failed shutdown reqRyan Dahl2011-08-101-0/+9
| |
* | net_uv: fix test/simple/test-pipe-file-to-http.jsRyan Dahl2011-08-101-0/+2
| |
* | Add NPN and SNI documentation.Fedor Indutny2011-08-101-1/+1
| | | | | | | | | | Fixes #1420. Fixes #1426.
* | Improve assert error messagesRyan Dahl2011-08-091-17/+28
| | | | | | | | | | | | 1. actual and expected should be displayed in the same order they were given 2. long values should be truncated.
* | Make buffer.INSPECT_MAX_BYTES public for mscdexRyan Dahl2011-08-081-3/+3
| |
* | Truncate Buffer.inspect at 50 bytesRyan Dahl2011-08-081-0/+12
| |
* | Fix test-http-upgrade-server and test-http-parserRyan Dahl2011-08-082-12/+8
| | | | | | | | | | Problem was introduced in last http-parser upgrade which fixed a long standing bug with the upgrade event and removed several callbacks.
* | Endian argument should be a boolean. Signed integers shouldn't run through ↵Robert Mustacchi2011-08-082-195/+172
| | | | | | | | checks for unsigned integers. Clean up jslint. Provide unchecked uint entry points.
* | http2: reword confusing commentBen Noordhuis2011-08-081-1/+1
| |
* | Improve util.format() compatibility with browser.koichik2011-08-081-1/+3
| | | | | | | | Fixes #1434.
* | Fixes https host header default port handling.Mikeal Rogers2011-08-072-0/+2
| |
* | Child processes: support windowsVerbatimArguments optionBert Belder2011-08-051-14/+37
| |
* | child process: don't send signal if process is already terminatedBen Noordhuis2011-08-041-1/+1
| | | | | | | | Fixes failing test test/simple/test-exec-max-buffer.js
* | net_uv: add listenFD shim that throws when calledBen Noordhuis2011-08-041-0/+5
| |
* | child process: bind to libuv's kill process APIBen Noordhuis2011-08-041-3/+28
| | | | | | | | Fixes failing test test/simple/test-child-process-kill.js
* | module: strip byte order marker when loading *.js and *.json filesBen Noordhuis2011-08-041-8/+20
| | | | | | | | | | | | BOMs make V8 raise a 'SyntaxError: Unexpected token ILLEGAL' exception. Fixes #1440.
* | Merge branch 'v0.4'Ryan Dahl2011-08-011-4/+4
|\ \ | |/ | | | | | | | | | | Conflicts: doc/api/crypto.markdown doc/api/modules.markdown src/platform_win32.cc
| * Fix http.ClientRequest crashes if end() was called twicekoichik2011-07-301-0/+3
| | | | | | | | | | Fixes #1417. Fixes #1223.
| * Doc improvements and change argument name.koichik2011-07-251-4/+4
| | | | | | | | Fixes #1318.
| * http: fix setting ServerResponse.statusCode in writeHeadTrent Mick2011-07-211-0/+1
| | | | | | | | Fixes #1374.
* | win: fix test-child-process-exec-cwdRyan Dahl2011-08-011-1/+6
| |
* | child_process_uv: fix test-child-process-stdin and -ipcRyan Dahl2011-08-011-1/+2
| |
* | Remove debug codeRyan Dahl2011-08-011-5/+0
| |
* | child_process_uv: Handle spawn errorsRyan Dahl2011-08-011-0/+33
| |
* | child_process_uv: fix test/simple/test-child-process-envRyan Dahl2011-07-311-1/+9
| |
* | child_process_uv: add exec, fix simple/test-child-process-exec-cwdRyan Dahl2011-07-311-0/+119
| |
* | Forgot to add child_process_uv.jsRyan Dahl2011-07-311-0/+154
| |
* | initial pass at lib/child_process_uv.jsRyan Dahl2011-07-312-5/+17
| |
* | Add %% escape to util.format()koichik2011-07-301-1/+2
| | | | | | | | Fixes #1273.
* | util: add sprintf-like format() functionBen Noordhuis2011-07-302-42/+39
| | | | | | | | Fixes #1407.