Norman Maurer
8f1ad37edd
Use camel case for ChannelOption factory values and add docs
2017-12-20 14:18:07 +01:00
Johannes Weiss
dfd25bf576
refactor Channel initialisation & *Bootstrap docs
2017-12-13 15:42:54 +00:00
Johannes Weiß
94e1af5452
compile warning-free on Swift 4.1
2017-12-18 15:37:57 +00:00
Johannes Weiss
e60ef7fdc8
trivial: fix unused result warning in tests
2017-12-13 11:50:16 +00:00
Cory Benfield
07f5eb95e2
Enforce promise ordering for zero length writes
2017-12-12 16:38:31 +00:00
Cory Benfield
9b9caa1d20
Don't explode on zero-length writes
2017-12-12 16:04:21 +00:00
Cory Benfield
2373863f54
No fatal error on unexpected non-ciphertext data
2017-12-12 11:31:05 +00:00
Cory Benfield
ba183774f6
Don't assert clean shutdown
2017-12-11 13:13:15 +00:00
Norman Maurer
7379be49f5
Replace mktemp usage with mkstemp to silence warnings when running tests.
...
Before this was printed out.
NIOOpenSSLTests/SSLCertificateTest.swift:105: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
2017-12-04 18:48:49 +01:00
Cory Benfield
2cfa8c2381
Remove use of URL and FileManager from NIOOpenSSL
2017-11-23 10:11:38 +00:00
Cory Benfield
99188f3a99
Don't lose close promises
2017-11-21 19:00:36 +00:00
Johannes Weiß
33fe401322
rename Future/Promise to EventLoopFuture/EventLoopPromise
2017-11-21 17:41:36 +00:00
Cory Benfield
229c23a63b
Support X.509 hostname validation
2017-11-20 14:26:22 +00:00
Norman Maurer
f369a17d42
Fix warnings that are cased by using try for functions that not throw. Leftover from 4a315c9e9d12345e70b838cdfea54ddb0b191da8
2017-11-16 19:39:16 +01:00
Johannes Weiß
31cd14eaad
fix inEventLoop race and makes TSan happy
2017-11-10 14:56:33 -08:00
Cory Benfield
8ff2d5bb92
OpenSSL ALPN support
2017-11-13 12:45:57 +00:00
Cory Benfield
e72569e329
Add client-side SNI support
2017-10-25 15:04:46 +01:00
Cory Benfield
8efedf33fa
Add ALPN handler
2017-11-01 16:14:11 +00:00
Cory Benfield
7a7536d076
Add support for X.509 subject commonName.
2017-11-03 13:49:32 +00:00
Cory Benfield
4e04a275c0
Add internal support for subjectAltName
2017-11-01 17:46:56 +00:00
Cory Benfield
8f2d17bc55
Break out common TLS events
2017-11-01 10:56:15 +00:00
Johannes Weiß
6173bee782
Split IOData into NIOAny & IOData (ByteBuffer | FileRegion)
2017-10-25 19:31:27 +01:00
Cory Benfield
32c30074ea
Split client/server processing in OpenSSL
2017-10-24 16:41:23 +01:00
Johannes Weiss
cf352ac0c3
depend on OpenSSL properly
2017-10-19 19:51:42 +01:00
Cory Benfield
fb9e14b4d4
Don't lose promises on synchronous close.
2017-10-18 16:53:45 -07:00
Cory Benfield
7dddd67608
Add TLS configuration object
2017-09-29 14:25:46 +01:00
Johannes Weiss
1adb581f59
remove more Foundation imports
2017-10-10 16:25:43 +01:00
Cory Benfield
c2f461e4b7
[OpenSSLHandler] Flush less frequently for outgoing application data.
2017-10-04 17:29:38 +01:00
Cory Benfield
bdce6b39ca
Better handle multiple calls to close() in TLS.
2017-09-27 11:16:58 +01:00
Cory Benfield
8a6d9c825c
OpenSSL-based TLS support
...
Add initial OpenSSL support to NIO.
2017-09-26 14:47:41 +01:00