akka/akka-http

Plaintext connection to HTTPS endpoint hangs on JDK 11

Open

#2614 aperta il 24 lug 2019

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)Scala (598 fork)batch import
3 - in progressbughelp wantedt:coret:servert:tls

Metriche repository

Star
 (1311 star)
Metriche merge PR
 (Merge medio 1g 10h) (2 PR mergiate in 30 g)

Descrizione

On JDK 8, the connection closed, on JDK 11 the request just hangs until the idle-timeout kicks in.

Thanks for the report, @makkarpov.

See https://discuss.lightbend.com/t/akka-http-tls-server-hangs-when-it-receives-plaintext-connection/4636 and the reproducer at https://github.com/makkarpov/akka-tls-hangs-example.

Guida contributor