grpc-java/okhttp/src
ZHANG Dapeng 95791b7507 okhttp: fix NPE when using CLEARTEXT connectionSpec
Resolves #1815

The only legitimate way to create plaintext connection with okhttp is by calling
OkHttpChannelBuilder#usePlaintex

Throw IllegalArgumentException when calling
OkHttpChannelBuilder#connectionSpec or Utils.convertSpec directly with CLEARTEXT a connectionSped argument.
2016-06-15 16:14:50 -07:00
..
main okhttp: fix NPE when using CLEARTEXT connectionSpec 2016-06-15 16:14:50 -07:00
test/java/io/grpc okhttp: fix NPE when using CLEARTEXT connectionSpec 2016-06-15 16:14:50 -07:00