Commit Graph

27 Commits

Author SHA1 Message Date
Yingyu Cheng 2c5fe2dbc3
bug: set host will always undefined 2018-12-25 18:45:29 +08:00
murgatroid99 81a413cd84 Native: Use non-deprecated function to call checkServerIdentity cb 2018-10-16 15:43:18 -07:00
Michael Lumish 92f4367d62
Merge pull request #492 from nicolasnoble/channel-unwrap-check
Fix potential segmentation fault.
2018-08-13 13:07:01 -07:00
Nicolas "Pixel" Noble db291906fa Fix potential segmentation fault.
Described in #490.
2018-08-11 15:27:56 +02:00
Ian Haken 1fd96966d7 Correct checkServerIdentity behavior to return a verification failure if an error is returned. Clean up documentation and add a test assertion on returned Error. 2018-08-06 15:40:22 -07:00
Ian Haken 03c5d98b1e Simplify getting checkServerIdentity out of the fourth createSsl argument. Add some tests asserting type-checking behavior. 2018-08-06 15:40:22 -07:00
Ian Haken c70df88fc0 Simplify userdata being passed to checkServerIdentity callback. 2018-08-06 15:40:22 -07:00
Ian Haken b6ad568c09 Add type assertion on createSsl's fourth argument. 2018-08-06 15:40:22 -07:00
Ian Haken ac7c1bc2e5 Add checkServerIdentity callback. 2018-08-06 15:40:22 -07:00
murgatroid99 36f326281b Fix a function call 2018-07-23 13:49:58 -07:00
murgatroid99 c4e3f1b7a0 Add Channel class and Client channel override options to public API 2018-07-19 15:57:33 -07:00
Nicolas "Pixel" Noble 9a5da08497 Properly create slices from utf8 strings.
Fixes #426.
2018-07-09 22:32:14 +02:00
murgatroid99 9fed412727 Update usage of modifed core credentials API 2018-06-20 12:43:09 -07:00
tassadarliu 4694b7371c
typo 2018-04-23 17:28:47 +08:00
Ali Ijaz Sheikh 4bfa1430ef fix: avoid using deprecated Nan APIs
Starting with Nan 2.9.x certain Nan::Callback::Call APIs are
deprecated. Instead there are mechanisms in place that allow native
modules to preserve async context across async calls.
2018-04-03 16:02:46 -07:00
murgatroid99 c41a6813ae Start server after adding server ports 2018-04-03 10:57:04 -07:00
murgatroid99 05007312a7 Replace another variable length stack array with a vector 2018-04-03 09:50:36 -07:00
murgatroid99 265c8fcfc8 Fix incorrect C++ usage 2018-04-02 18:27:29 -07:00
murgatroid99 0210f160ed Fix object lifetime and memory management problems in server code 2018-04-02 14:37:35 -07:00
murgatroid99 cd4c45d712 Merge branch 'v1.8.x' into v1.8.x_upmerge 2018-01-22 13:00:51 -05:00
murgatroid99 843d063037 Add JS error for missing callback to sever#tryShutdown 2018-01-05 13:09:15 -08:00
murgatroid99 f900cfb3dd Update a core header inclusion to stop using extern C 2017-11-30 14:01:05 -08:00
murgatroid99 45a3ac256c Remove now-incorrect assertion in completion queue wrapper 2017-11-16 09:51:32 -08:00
murgatroid99 d0218f21b6 Update grpc submodule 2017-10-02 13:49:05 -07:00
murgatroid99 46e2418fc6 Update completion queue header to match code changes 2017-09-19 14:38:27 -07:00
murgatroid99 661bdfaa5d Add forced completion queue poll to ensure that waitForReady uses current connectivity state 2017-09-19 13:25:12 -07:00
Nicolas "Pixel" Noble 3b0b6f5735 Moving files into their new location. 2017-09-12 01:33:18 +02:00