- Mar 03, 2015
-
-
Michael Dawson authored
test/simple/test-http-destroyed-socket-write2.js validates that you get an appropriate error when trying to write to a request when the response on the other side has been destroyed. The test uses http.request to get a request and then keeps writing to it until either it hits 128 writes or gets the expected error. Since the writes are asynchronous we see that the writes just end up adding events to the event loop, which then later get processed once the connection supporting the request is fully ready. The test is timing dependent and if takes too long for the connection to be made the limit of 128 writes is exceeded and the test fails. The fact that the test allows a number of writes is probably to allow some delay for the connection to be ready for writing. On AIX, in the default configuration using the loopback interface is slower and the test fails because the delay is such that many more writes can be queued up before the connection takes place. If we use the host ip instead of defaulting to the loopback then the test passes. The test needs to be made more robust to delays. Since each write simply enqueues an additional write to the event queue there is probably no point in doing the second write until the first has completed. This patch schedules the next write when the first one completes and allows the test to pass even if it takes longer for the connection to be ready for writing PR-URL: https://github.com/joyent/node/pull/9270 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Timothy J Fontaine <tjfontaine@gmail.com>
-
Robert Kowalski authored
- add an article: `decode a non-utf8 string` - explain default and fallback behaviour of `querystring.unescape` PR-URL: https://github.com/joyent/node/pull/9259 Reviewed-by:
Julien Gilli <julien.gilli@joyent.com>
-
h7lin authored
In the documentation for querystring.parse, the documentation mentions that the default value for options.decodeURIComponent is the decodeURIComponent function, but it's actually the querystring.unescape function. PR-URL: https://github.com/joyent/node/pull/9259 Reviewed-by:
Julien Gilli <julien.gilli@joyent.com>
-
Julien Gilli authored
This test setups two event listeners: one on a child process' exit event , another for the same child process' stdandard output's 'data' event. The data even listener writes to a stream, and the exit event listener ends it. Because the exit event can be emitted before the data event, there is a chance that something will be written to the stream after it's ended, and that an error is thrown. This change makes the test end the stream in the listener for the child process' standard output's end event, which is guaranteed to be emitted after the last data event, thus avoiding the race. PR: https://github.com/joyent/node/pull/9301 Reviewed-by:
Bert Belder <bertbelder@gmail.com> Reviewed-by:
Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-by:
Colin Ihrig <cjihrig@gmail.com>
-
Rod Vagg authored
Pushed without review
-
Rod Vagg authored
-
Rod Vagg authored
Notable changes: * stream: Fixed problems for platforms without `writev()` support, particularly Windows. Changes introduced in 1.4.1, via https://github.com/iojs/io.js/pull/926, broke some functionality for these platforms, this has now been addressed. https://github.com/iojs/io.js/pull/1008 (Fedor Indutny) * arm: We have the very beginnings of ARMv8 / ARM64 / AARCH64 support. An upgrade to OpenSSL 1.0.2 is one requirement for full support. https://github.com/iojs/io.js/pull/1028 (Ben Noordhuis) * Add new collaborator: Julian Duque @julianduque
-
Ben Noordhuis authored
This commit adds basic arm64 support to the build. Building the bundled openssl is disabled pending an upgrade to openssl 1.2, the currently bundled version has some hand-rolled assembly that is 32 bits only. PR-URL: https://github.com/iojs/io.js/pull/1028 Reviewed-By:
Johan Bergström <bugs@bergstroem.nu> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Ben Noordhuis authored
Don't include tls_wrap.h in stream_base.cc. It's not used and it breaks the build when --without-ssl is passed to configure. Fixes the following build error: In file included from ../src/tls_wrap.h:5:0, from ../src/stream_base.cc:10: ../src/node_crypto.h:20:25: fatal error: openssl/ssl.h: No such file or directory #include <openssl/ssl.h> PR-URL: https://github.com/iojs/io.js/pull/1027 Reviewed-By:Johan Bergström <bugs@bergstroem.nu>
-
- Mar 02, 2015
-
-
Rod Vagg authored
Update AUTHORS file using tools/update-authors.sh PR-URL: https://github.com/iojs/io.js/pull/1018 Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-
Julian Duque authored
PR-URL: https://github.com/iojs/io.js/pull/1021 Reviewed-By:
Evan Lucas <evanlucas@me.com> Reviewed-By:
Christian Tellnes <christian@tellnes.com> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Rod Vagg <r@va.gg>
-
&! (bitandbang) authored
`therefor` is a typo of `therefore`, and was fixed. There were also two places where the website WG was directly linked, where they should have put the WG's name/repo; that was fixed as well. PR-URL: https://github.com/iojs/io.js/pull/1022 Reviewed-By:
Mikeal Rogers <mikeal.rogers@gmail.com> Reviewed-By:
Christian Tellnes <christian@tellnes.no>
-
Ryan Scheel authored
net.Socket::connect(options[, connectListener]) was missing, with the relevant details found on the net.connect function. I moved the appropriate documentation over and then rewrote the documentation for the function to say that it just creates a socket and calls the connect method on it. I also changed the other net.Socket::connect variants to say they are like the options version but called with a specific options object. net.connect and other functions were called methods even though they don't use the `this` binding, so I changed method to function where appropriate. Finally, I added a missing period to the end of the module summary. It's not really related to the rest of the changes, but benjamingr noticed it. PR-URL: https://github.com/iojs/io.js/pull/951 Reviewed-By:
Sam Roberts <vieuxtech@gmail.com> Reviewed-By:
Christian Tellnes <christian@tellnes.no>
-
Benjamin Gruenbaum authored
At the moment users who want to use `fs.exists` get a warning that the method is deprecated but do not get offered an alternative in the page. This PR suggests `fs.stat` and `fs.access` as alternatives while keeping the warning about the use case in place. Fixes: https://github.com/iojs/io.js/issues/1002 PR-URL: https://github.com/iojs/io.js/pull/1007 Reviewed-By:
Brian White <mscdex@mscdex.net> Reviewed-By:
Christian Tellnes <christian@tellnes.no>
-
- Mar 01, 2015
-
-
Fedor Indutny authored
Only TCP and JSStream do support `.writev()` on all platforms at the moment. Ensure that it won't be enabled everywhere. Fix: https://github.com/iojs/io.js/issues/995 PR-URL: https://github.com/iojs/io.js/pull/1008 Reviewed-by:
Bert Belder <bertbelder@gmail.com> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Rod Vagg authored
-
Rod Vagg authored
Notable changes: * tls: A typo introduced in the TLSWrap changes in https://github.com/iojs/io.js/pull/840 only encountered as a bug on Windows was not caught by the io.js CI system due to problems with the Windows build script and the Windows CI slave configuration, see Fixed in https://github.com/iojs/io.js/pull/994 & https://github.com/iojs/io.js/pull/1004 (Fedor Indutny) * npm: Upgrade npm to 2.6.1. See https://github.com/npm/npm/blob/master/CHANGELOG.md#v260-2015-02-12 for details. * Add new collaborators: - Robert Kowalski (@robertkowalski) - Christian Vaagland Tellnes (@tellnes) - Brian White (@mscdex)
-
Fedor Indutny authored
Fix: https://github.com/iojs/io.js/issues/995 PR-URL: https://github.com/iojs/io.js/pull/1004 Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Russell Dempsey authored
The io.js performance counters manifest conflicts with the one from node, causing installer failures. Change the GUID in the io.js performance counters manifest file to resolve the conflicts. Fixes: https://github.com/iojs/io.js/issues/524 PR: https://github.com/iojs/io.js/pull/1001 Reviewed-by:
Bert Belder <bertbelder@gmail.com>
-
- Feb 28, 2015
-
-
Fedor Indutny authored
The problem does not manifest itself on unixes, because `uv_read_start()` always return 0 there. However on Windows on a second call `uv_read_start()` returns `UV__EALREADY` destroying all sockets on a read attempt. Set `.reading` property that is already handled by `net.js` code. Fix: https://github.com/iojs/io.js/issues/988 PR-URL: https://github.com/iojs/io.js/pull/994 Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-
Christian Tellnes authored
If you set a custom http header which includes eg. the string `Date`, then http will not automatically send the `Date` header. This is also true for other automatic http headers. PR-URL: https://github.com/iojs/io.js/pull/828 Reviewed-By:
Brendan Ashworth <brendan.ashworth@me.com> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Bert Belder authored
* Support running multiple test suites (e.g. vcbuild test-simple test-gc). * Removed a nonexisting test suite (test-uv). * Removed superfluous extra layer of argument parsing. * Fix the node-weak build. R=@rvagg PR-URL: https://github.com/iojs/io.js/pull/998 Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Johan Bergström authored
Slim the tarballs further by removing examples, documentation and test for third party libraries. Also switch to checkout-index versus archive so we avoid using tar. PR-URL: https://github.com/iojs/io.js/pull/961 Reviewed-By:
Trevor Norris <trev.norris@gmail.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Tim Oxley authored
PR-URL: https://github.com/iojs/io.js/pull/996 Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Chris Dickinson authored
This simplifies the stability index to 4 levels: 0 - deprecated 1 - experimental / feature-flagged 2 - stable 3 - locked Domains has been downgraded to deprecated, assert has been downgraded to stable. Timers and Module remain locked. All other APIs are now stable. PR-URL: https://github.com/iojs/io.js/pull/943 Fixes: https://github.com/iojs/io.js/issues/930 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
Vladimir Kurchatkin <vladimir.kurchatkin@gmail.com>
-
Robert Kowalski authored
PR-URL: https://github.com/iojs/io.js/pull/977 Reviewed-By:
Evan Lucas <evanlucas@me.com> Reviewed-By:
Christian Tellnes <christian@tellnes.com> Reviewed-By:
Rod Vagg <r@va.gg>
-
cjihrig authored
Every npm version bump requires a few patches to be floated on node-gyp for io.js compatibility. These patches are found in 03d19927, 5de334c2, and da730c76. This commit squashes them into a single commit. PR-URL: https://github.com/iojs/io.js/pull/990 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Forrest L Norvell authored
PR-URL: https://github.com/iojs/io.js/pull/990 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
- Feb 27, 2015
-
-
Benjamin Gruenbaum authored
Some doc update based on improvement ideas I remember from when I used this module in node: - Mention windows returns 0 for `nice` values (which is obvious, but io makes no attempt to calculate something similar or return undefined, 0 is returned) - Mention platform and arch are aliases for `process` properties. - Document possible return values where appropriate, add examples in others. - Rename title in order to match other titles in the navigation. - Fix line that was over 80 characters long. PR-URL: https://github.com/iojs/io.js/pull/976 Reviewed-By:
Christian Tellnes <christian@tellnes.no> Reviewed-By:
Brian White <mscdex@mscdex.net> Reviewed-By:
Vladimir Kurchatkin <vladimir.kurchatkin@gmail.com>
-
Pavel Medvedev authored
In order to avoid Visual C++ warning C4005 about macro redefinition when node.h is included in another project. PR-URL: https://github.com/iojs/io.js/pull/986 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Mikeal Rogers authored
PR-URL: https://github.com/iojs/io.js/pull/911 Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com> Reviewed-by:
Bert Belder <bertbelder@gmail.com>
-
Mikeal Rogers authored
PR: https://github.com/iojs/io.js/pull/886 Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com> Reviewed-by:
Bert Belder <bertbelder@gmail.com>
-
Christian Tellnes authored
PR-URL: https://github.com/iojs/io.js/pull/973 Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com> Reviewed-By:
Evan Lucas <evanlucas@me.com> Reviewed-By:
Brian White <mscdex@mscdex.net>
-
Brian White authored
PR-URL: https://github.com/iojs/io.js/pull/972 Reviewed-By:
Evan Lucas <evanlucas@me.com> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Rod Vagg authored
-
Rod Vagg authored
Notable changes: * process / promises: An'unhandledRejection' event is now emitted on process whenever a Promise is rejected and no error handler is attached to the Promise within a turn of the event loop. A 'rejectionHandled' event is now emitted whenever a Promise was rejected and an error handler was attached to it later than after an event loop turn. See the process documentation for more detail. https://github.com/iojs/io.js/pull/758 (Petka Antonov) * streams: you can now use regular streams as an underlying socket for tls.connect() https://github.com/iojs/io.js/pull/758 (Fedor Indutny) * http: A new 'abort' event emitted when a http.ClientRequest is aborted by the client. https://github.com/iojs/io.js/pull/945 (Evan Lucas) * V8: Upgrade V8 to 4.1.0.21. Includes an embargoed fix, details should be available at https://code.google.com/p/chromium/issues/detail?id=430201 when embargo is lifted. A breaking ABI change has been held back from this upgrade, possibly to be included when io.js merges V8 4.2. See https://github.com/iojs/io.js/pull/952 for discussion. * npm: Upgrade npm to 2.6.0. Includes features to support the new registry and to prepare for npm@3. See npm CHANGELOG.md https://github.com/npm/npm/blob/master/CHANGELOG.md#v260-2015-02-12 for details. * libuv: Upgrade to 1.4.2. See libuv ChangeLog https://github.com/libuv/libuv/blob/v1.x/ChangeLog for details of fixes.
-
Brendan Ashworth authored
This commit changes the word introduction to the code block to be explicitly correct, and changes the `d` variable to `msg` for clarity. PR-URL: https://github.com/iojs/io.js/pull/964 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
Nicu Micleușanu <micnic90@gmail.com> Reviewed-By:
Vladimir Kurchatkin <vladimir.kurchatkin@gmail.com>
-
Tim Oxley authored
This adds more consistency, plus links to commits are particularly useful. PR-URL: https://github.com/iojs/io.js/pull/967 Reviewed-By:
Rod Vagg <rod@vagg.org>
-
- Feb 26, 2015
-
-
silverwind authored
fixes #958 Fixes: https://github.com/iojs/io.js/issues/958 PR-URL: https://github.com/iojs/io.js/pull/968 Reviewed-By:
Shigeki Ohtsu <ohtsu@iij.ad.jp>
-
Ben Noordhuis authored
PR-URL: https://github.com/iojs/io.js/pull/966 Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-