summaryrefslogtreecommitdiff
path: root/src/node_constants.cc
Commit message (Collapse)AuthorAgeFilesLines
* crypto: wrap ECDH constants in HAVE_OPENSSLIsaac Burns2014-09-011-0/+2
| | | | Reviewed-By: Fedor Indutny <fedor@indutny.com>
* crypto: introduce ECDHFedor Indutny2014-08-291-0/+8
|
* crypto: allow padding in RSA methodsFedor Indutny2014-08-271-0/+24
| | | | Reviewed-By: Trevor Norris <trevnorris@gmail.com>
* Merge remote-tracking branch 'origin/v0.10' into masterFedor Indutny2014-07-291-10/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/api/buffer.markdown lib/_stream_readable.js lib/assert.js lib/buffer.js lib/child_process.js lib/http.js lib/string_decoder.js lib/zlib.js node.gyp test/simple/test-buffer.js test/simple/test-https-foafssl.js test/simple/test-stream2-compatibility.js test/simple/test-tls-server-verify.js
| * constants: add O_NONBLOCK constantFedor Indutny2014-07-021-0/+4
| | | | | | | | | | | | | | | | It appears that it is defined unconditionally on all supported unixes. fix #7867 #7855 Signed-off-by: Trevor Norris <trev.norris@gmail.com>
| * Revert "constants: export O_NONBLOCK"Fedor Indutny2014-07-021-8/+1
| | | | | | | | | | | | This reverts commit 00890e43fb935c8bc5dc150f0f2c96bc465d8a4d. Signed-off-by: Trevor Norris <trev.norris@gmail.com>
| * Revert "src: fix _XOPEN_SOURCE redefinition warning"Fedor Indutny2014-07-021-10/+4
| | | | | | | | | | | | This reverts commit 885142a5edc2c803fa8b9d92b5d0771379237764. Signed-off-by: Trevor Norris <trev.norris@gmail.com>
* | Merge branch 'v0.10'Fedor Indutny2014-06-051-1/+14
|\ \ | |/ | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog lib/events.js lib/tls.js src/node_constants.cc src/node_crypto.cc src/node_crypto.h src/node_version.h
| * src: fix _XOPEN_SOURCE redefinition warningBen Noordhuis2014-05-141-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the following compiler warning on systems where _XOPEN_SOURCE is defined by default: ../src/node_constants.cc:35:0: warning: "_XOPEN_SOURCE" redefined #define _XOPEN_SOURCE 500 Move the (re)definition of _XOPEN_SOURCE to the top of the file while we're here. Commit 00890e4 adds a `#define _XOPEN_SOURCE 500` in order to make <fcntl.h> expose O_NONBLOCK but it does so after other system headers have been included. If those headers include <fcntl.h>, then the #include in node_constants.cc will be a no-op and O_NONBLOCK won't be visible. Signed-off-by: Fedor Indutny <fedor@indutny.com>
| * constants: export O_NONBLOCKFedor Indutny2014-05-021-1/+8
| | | | | | | | Signed-off-by: Fedor Indutny <fedor@indutny.com>
* | dgram: introduce `reuseAddr` optionFedor Indutny2014-04-101-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce new signature for both `dgram.createSocket` method and `dgram.Socket` constructor: dgram.createSocket(options, [listener]) Options should contain `type` property and may contain `reuseAddr` property. When `reuseAddr` is `true` - SO_REUSEADDR will be issued on socket on bind. fix #7415 Signed-off-by: Fedor Indutny <fedor@indutny.com>
* | crypto: allow custom generator for DiffieHellmanBrian White2014-02-181-0/+16
| |
* | crypto: introduce .setEngine(engine, [flags])Fedor Indutny2014-01-051-0/+55
| |
* | src: lint c++ codeFedor Indutny2013-07-311-161/+171
|/
* constants: add O_DIRECTIan Babrou2012-08-281-0/+3
| | | | | This will allow to speed up file i/o in some cases by usage of right offsets and buffer sizes.
* process: use uv_signal instead of ev_signalBert Belder2012-08-211-0/+4
|
* core: use proper #include directivesBen Noordhuis2012-03-101-2/+2
|
* Remove platform files, and use uv platform apiIgor Zinkovsky2011-12-151-4/+0
|
* tls: expose more openssl SSL context optionsBen Noordhuis2011-11-211-54/+74
|
* tls: expose ssl bug workaround constantsRoman Shtylman2011-11-211-0/+48
| | | | | | | The internet is filled with servers which have various bugs and other ssl handshake issues. These constants can be used with the Agent secureOptions option to get around such server limitations when performing https requests
* Basic VC++ compatibility work.Peter Bright2011-08-061-2/+9
|
* Remove platform_win32_winsockBert Belder2011-08-021-1/+0
|
* Batch of ev -> uv changesBert Belder2011-05-231-4/+1
|
* GH-853 fs.lchown and fs.lchmodisaacs2011-04-201-0/+5
|
* OpenSSL NPN in node.jsFedor Indutny2011-04-191-0/+5
| | | | closes #926.
* SSL_OP_CRYPTOPRO_TLSEXT_BUGTheo Schlossnagle2011-04-131-0/+4
| | | | fixes #873
* TLS: Add secureOptions flagTheo Schlossnagle2011-04-131-0/+70
| | | | | | Also, secureOptions flag was added (and passed through) and allows the context to have all supported SSL_OP_* set via createCredentials. All SSL_OP_ flags (outside of ALL) have been added to constants.
* Update copyright headersRyan Dahl2011-03-141-1/+21
|
* Define winsock error numbersBert Belder2011-01-181-0/+237
|
* Clean up the way windows headers are includedBert Belder2011-01-181-2/+2
| | | | Plus make inclusion order a little more consistent in general
* S_IFLNK, S_IFSOCK and SIGCHLD are not available on windowsBert Belder2010-12-201-0/+9
|
* Fixed incorrect mask for determining fs.Stats typesPeter Dekkers2010-06-151-0/+1
|
* Add process.IdleWatcherRyan Dahl2010-01-181-0/+5
| | | | With priorities. Will be used for process.nextLoop().
* Prefix all source files with node_Ryan Dahl2009-10-271-0/+571