netty5/handler/src
Scott Mitchell 4506bbd27b fcbeebf6df unit test bug
Motivation:
fcbeebf6df introduced a unit test to verify ApplicationProtocolNegotiationHandler is compatible with SniHandler. However only the server attempts ALPN and verifies that it completes and the client doesn't verify the handshake is completed. This can lead to the client side SSL engine to prematurely close and throw an exception.

Modifications:
- The client should wait for the SSL handshake and ALPN to complete before the test exits.

Result:
SniHandlerTest.testSniWithApnHandler is more reliable.
2016-04-06 00:12:54 -07:00
..
main/java/io/netty/handler ApplicationProtocolNegotiationHandler doesn't work with SniHandler 2016-04-05 09:03:07 +02:00
test fcbeebf6df unit test bug 2016-04-06 00:12:54 -07:00