Johannes Weiss

Results 188 issues of Johannes Weiss

NIOSSLServerHandler's init is throwing and that has two issues: 1. it's not really actionable so everybody writes `try! NIOSSLServerHandler(context: sslContext)`. If that's what we want, we can just do that...

CI should enable TSan

when connecting to https://cpanel.com with ALPN set to `h2` we get ``` Channel caught error: handshakeFailed(NIOSSL.BoringSSLError.sslError([Error: 268435715 error:10000103:SSL routines:OPENSSL_internal:INVALID_ALPN_PROTOCOL, Error: 268435605 error:10000095:SSL routines:OPENSSL_internal:ERROR_PARSING_EXTENSION, Error: 268435646 error:100000be:SSL routines:OPENSSL_internal:PARSE_TLSEXT])) in handler5 ```...

kind/enhancement

https://github.com/apple/swift-nio-extras/blob/a75e92bde3683241c15df3dd905b7a6dcac4d551/Sources/NIOExtras/QuiescingHelper.swift#L229 If you create a new `QuiescingHelper()` but then end up not using it, it'll crash your program for a leaked promise. There's probably a better solution for that. If...

### Motivation: NFS can be a very useful protocol. ### Modifications: Add the (read side, for now) of the NFS3 protocol. This adds (partial) implementations of the following RFCs: -...

### Motivation: PCAP is an important protocol. Previously the implementation was very incomplete and split between `NIOWritePCAPHandler` and its tests. ### Modifications: - Put the implementation into a (private) `NIOPCAP`...

semver/minor

Since #154, compiling swift-nio-extras now has warnings because the executable products aren't correctly identified as `.executableTarget`s.

### Motivation: `NIORequestResponseHandler` is great, for protocols where responses are in the same order as requests. Unfortunately, it doesn't work for protocols where responses may arrive out-of-order with regards to...

test

I just had to create quite a long example on how to use the universal bootstrap over at https://github.com/apple/swift-nio-examples/pull/48 . That is too long and unwieldy. NIO needs to do...