google / google/conscrypt

Interface behavior issue on Android for SSLEngine.getApplicationProtocol()

Open
#973 3 comments 0 reactions 1 assignee Claimed by @prbprbprb View on GitHub
bug
Dominant language
Java
Stars
1.4k
Forks
326
Avg merge
16h 22m
Merged PRs (30d)
17

Description

Hi,

I was building an HTTP/2 server using netty on Android 11, which needs an ALPN implementation.

And I found that when the ClientHello did not contain an ALPN extension, the server would fail after SSL handshake finished.

The `ConscryptEngine.getApplicationProtocol()` returns null after SSL handshake finished, which behaves against the JDK document for SSLEngine, saying _"an empty String if application protocols values will not be used"_.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.