Skip to content

HTTPCLIENT-2198, Fixed NPE in TlsConfig.toString()#350

Merged
ok2c merged 2 commits into
apache:masterfrom
AndreiSVasilev:HTTPCLIENT-2198
Jan 22, 2022
Merged

HTTPCLIENT-2198, Fixed NPE in TlsConfig.toString()#350
ok2c merged 2 commits into
apache:masterfrom
AndreiSVasilev:HTTPCLIENT-2198

Conversation

@AndreiSVasilev

Copy link
Copy Markdown
Contributor

Replaced calls to Arrays.asList() with Arrays.toString(), which allows for null argument.

…onPolicy

Updated AbstractClientTlsStrategy to pass only the HttpVersionPolicy set by TlsConfig  instead of the entire TlsConfig to H2TlsSupport.selectApplicationProtocols() method.
Replaced called to Arrays.asList() to Arrays.toString(), which allows for null argument.
@ok2c ok2c merged commit 75e8dc6 into apache:master Jan 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants