- Mar 16, 2015
-
-
Forrest L Norvell authored
PR-URL: https://github.com/iojs/io.js/pull/1142 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
- Mar 15, 2015
-
-
Fedor Indutny authored
Fix the `parallel/test-tls-over-http-tunnel.js` on Windows by re-enabling the accidentally disabled `.writev()` method on TLSWrap. It appears that there is some subtle issue with shutdown timing and it manifests itself when the chunks are written in separate packets. This leads to concurrent `shutdown`/`destroy`, which breaks the test. PR-URL: https://github.com/iojs/io.js/pull/1155 Reviewed-By:
Bert Belder <bertbelder@gmail.com>
-
Fedor Indutny authored
It is very unlikely to happen, but still the write request should be disposed in case of immediate failure. PR-URL: https://github.com/iojs/io.js/pull/1154 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
- Mar 14, 2015
-
-
Chris Dickinson authored
This reverts commit 7bde3f1a. The added test (test/parallel/test-preload.js) fails on Windows. PR-URL: https://github.com/iojs/io.js/pull/1150 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
FangDun Cai authored
PR-URL: https://github.com/iojs/io.js/pull/1147 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Ali Ijaz Sheikh authored
-r/--require can be used to preload modules on node startup. The option takes a single module name. The option can be repeated as necessary to preload multiple modules. This patch allows 'vendors' (such a cloud host) to inject functionality that gets executed at application startup without requiring an explicit require from the user's application. This can be useful to load vendor specific application monitoring APIs transparently. PR-URL: https://github.com/iojs/io.js/pull/881 Reviewed-By:
Trevor Norris <trev.norris@gmail.com> Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-
Jeremiah Senkpiel authored
Previously the test did not allow the last request to complete. Fixes: https://github.com/iojs/io.js/pull/1137 PR-URL: https://github.com/iojs/io.js/pull/1145 Reviewed-By:
Brian White <mscdex@mscdex.net> Reviewed-By:
Bert Belder <bertbelder@gmail.com>
-
- Mar 13, 2015
-
-
Shigeki Ohtsu authored
The host of melissadata.net has a cross root certification between Starfield Class 2 and ValiCert Class 2. OpenSSL-1.0.1 only looks up a cert chain to the deprecated ValiCert Class 2 CA and causes untrusted error. We add it for a short-term remedy and it is to be removed after upgrading OpenSSSL-1.0.2 and applying private patches to support alternative cert chains. See #402 and #589. Fixes: https://github.com/iojs/io.js/issues/923 PR-URL: https://github.com/iojs/io.js/pull/1135 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Shigeki Ohtsu authored
Paths used on the Windows command line need to be enclosed in double quotes, or they'll be parsed incorrectly when there are spaces in the path. PR-URL: https://github.com/iojs/io.js/pull/1122 Reviewed-by:
Bert Belder <bertbelder@gmail.com>
-
Santiago Gimeno authored
PR-URL: https://github.com/iojs/io.js/pull/1074 Reviewed-By:
Bert Belder <bertbelder@gmail.com>
-
Santiago Gimeno authored
Using st_size to read non-regular files can lead to not reading all the data. PR-URL: https://github.com/iojs/io.js/pull/1074 Reviewed-By:
Bert Belder <bertbelder@gmail.com>
-
Santiago Gimeno authored
PR-URL: https://github.com/iojs/io.js/pull/1074 Reviewed-By:
Bert Belder <bertbelder@gmail.com>
-
Fedor Indutny authored
Ensure HandleScope is created before creating any new handles (which `Context::Scope` and `Environment::GetCurrent` does). PR-URL: https://github.com/iojs/io.js/pull/1133 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Rod Vagg <rod@vagg.org> Reviewed-By:
Brian White <mscdex@mscdex.net>
-
Johan Bergström authored
`v8/3c7e4403` introduced a different cast which broke building on Illumos. Revert to previous behavior for V8_OS_SOLARIS. Found on SmartOS while building with gcc 4.9.0. V8-Issue: https://code.google.com/p/v8/issues/detail?id=3935 V8-Patch: https://codereview.chromium.org/990063002 PR-URL: https://github.com/iojs/io.js/pull/1079 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
- Mar 12, 2015
-
-
Bert Belder authored
Thanks Shigeki Ohtsu for catching this.
-
Fedor Indutny authored
When slicing global pool - ensure that the underlying buffer's data ptr is 8-byte alignment to do not ruin expectations of 3rd party C++ addons. NOTE: 0.10 node.js always returned aligned pointers and io.js should do this too for compatibility. PR-URL: https://github.com/iojs/io.js/pull/1126 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Trevor Norris <trev.norris@gmail.com> Reviewed-by:
Bert Belder <bertbelder@gmail.com>
-
- Mar 11, 2015
-
-
Ben Noordhuis authored
And by cross-platform I mean Linux and OS X. The awk script is not compatible with BSD awk, that's why this commit changes it to perl. Update the .mailmap to remove some duplicates and regenerate the AUTHORS file. Fixes: https://github.com/iojs/io.js/issues/1120 PR-URL: https://github.com/iojs/io.js/pull/1121 Reviewed-By:
Rod Vagg <rod@vagg.org>
-
skenqbx authored
PR-URL: https://github.com/iojs/io.js/pull/1110 Reviewed-By:
Fedor Indutny <fedor@indutny.com> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
- Mar 10, 2015
-
-
Ben Noordhuis authored
PR-URL: https://github.com/iojs/io.js/pull/1118 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
Ben Noordhuis authored
net.connect() accepts `{ port: "1234" }` (i.e. a string) as of commit 9d2b89d0 ("net: allow port 0 in connect()") but net.Server#listen() did not, creating a minor inconsistency. This commit rectifies that. Fixes: https://github.com/iojs/io.js/issues/1111 PR-URL: https://github.com/iojs/io.js/pull/1116 Reviewed-By:Colin Ihrig <cjihrig@gmail.com>
-
skenqbx authored
PR-URL: https://github.com/iojs/io.js/pull/1107 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Ryuichi Okumura authored
PR-URL: https://github.com/iojs/io.js/pull/1115 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Fedor Indutny authored
Set proxied methods wrappers in `TLSWrap` prototype instead of doing it on every socket allocation. Should speed up things a bit and will certainly make heapsnapshot less verbose. PR-URL: https://github.com/iojs/io.js/pull/1108 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Trevor Norris authored
The .parent property of the allocated buffer should remain undefined in the case that it's not a slice. Also included test to verify this. PR-URL: https://github.com/iojs/io.js/pull/1109 Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com> Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
Rod Vagg authored
-
Rod Vagg authored
Notable changes: * tls: The reported TLS memory leak has been at least partially resolved via various commits in this release. Current testing indicated that there may still be some leak problems. Progress being tracked at: https://github.com/iojs/io.js/issues/1075 * http: Fixed an error reported at https://github.com/joyent/node/issues/9348 and https://github.com/npm/npm/issues/7349 Pending data was not being fully read upon an 'error' event leading to an assertion failure on socket.destroy(). (Fedor Indutny) https://github.com/iojs/io.js/pull/1103
-
Rudi Cilibrasi authored
PR-URL: https://github.com/iojs/io.js/pull/228 Reviewed-By:
Trevor Norris <trev.norris@gmail.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
- Mar 09, 2015
-
-
Fedor Indutny authored
Read all pending data out of the socket on `error` event and ensure that no `data`/`end` handlers will be invoked on `socket.destroy()`. Otherwise following assertion happens: AssertionError: null == true at TLSSocket.socketOnData (_http_client.js:308:3) at TLSSocket.emit (events.js:107:17) at TLSSocket.Readable.read (_stream_readable.js:373:10) at TLSSocket.socketCloseListener (_http_client.js:229:10) at TLSSocket.emit (events.js:129:20) at TCP.close (net.js:476:12) Fix: https://github.com/joyent/node/issues/9348 PR-URL: https://github.com/iojs/io.js/pull/1103 Reviewed-By:Rod Vagg <rod@vagg.org> Reviewed-By:
Nicu Micleușanu <micnic90@gmail.com>
-
Fedor Indutny authored
Adjust V8's external memory size when allocating buffers for TLS data to ensure that V8 has enough information to trigger the GC at right time. PR-URL: https://github.com/iojs/io.js/pull/1085 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Yazhong Liu authored
PR-URL: https://github.com/iojs/io.js/pull/1097 Reviewed-By:
Brendan Ashworth <brendan.ashworth@me.com>
-
Jeremiah Senkpiel authored
Fixes: https://github.com/iojs/io.js/issues/1098 PR-URL: https://github.com/iojs/io.js/pull/1102 Reviewed-By:
Brendan Ashworth <brendan.ashworth@me.com>
-
Alex Kocharin authored
PR-URL: https://github.com/iojs/io.js/pull/1095 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
Nicu Micleușanu <micnic90@gmail.com>
-
- Mar 08, 2015
-
-
Fedor Indutny authored
Encapsulate allocation/disposal of `WriteWrap` instances into the `WriteWrap` class itself. PR-URL: https://github.com/iojs/io.js/pull/1090 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Fedor Indutny authored
Kill WriteWrap instances that are allocated in `tls_wrap.cc` internally. Fix: https://github.com/iojs/io.js/issues/1075 PR-URL: https://github.com/iojs/io.js/pull/1090 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Brendan Ashworth authored
See commit `4877ec0`, where it now warns on a clang++ version older than 3.4. PR-URL: https://github.com/iojs/io.js/pull/1094 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Ben Noordhuis authored
The SYNC_CALL macro returns on error, bypassing the delete[] call. Mea culpa, it looks like I introduced this memory leak back in 2013, in commit d2b80b8a ("src: clean up FSReqWrap"). PR-URL: https://github.com/iojs/io.js/pull/1092 Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
Ben Noordhuis authored
Fix a bad delete of a pointer that was allocated with placement new. Casting the pointer was not the right solution because there was at least one non-placement new constructor call. This commit rewrites FSReqWrap to be more explicit about ownership of the auxiliary data and removes a number of egregious const_casts. The ASYNC_DEST_CALL macro also gets significantly slimmed down. PR-URL: https://github.com/iojs/io.js/pull/1092 Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
Evan Lucas authored
PR-URL: https://github.com/iojs/io.js/pull/1093 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
- Mar 07, 2015
-
-
Fedor Indutny authored
`ASN1_item_d2i`'s return value must be freed by the owner. Fix: https://github.com/iojs/io.js/issues/1075 PR-URL: https://github.com/iojs/io.js/pull/1087 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Ben Noordhuis authored
Add a Context::Scope that was overlooked in commit 583a868b ("stream_wrap: add HandleScope's in uv callbacks"). PR-URL: https://github.com/iojs/io.js/pull/1084 Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-