We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d68290 commit 7a50e0dCopy full SHA for 7a50e0d
httpcore5/src/main/java/org/apache/hc/core5/reactor/ssl/SSLIOSession.java
@@ -626,6 +626,15 @@ private void decryptData(final IOSession protocolSession) throws IOException {
626
}
627
break;
628
629
+ if (result.bytesConsumed() == 0) {
630
+ throw new SSLException(String.format("Unable to decrypt incoming data " +
631
+ "[status = " + result.getStatus() +
632
+ "; handshakeStatus = " + result.getHandshakeStatus() +
633
+ "; bytesConsumed = " + result.bytesConsumed() +
634
+ "; bytesProduced = " + result.bytesProduced() +
635
+ "; end of stream = " + endOfStream +
636
+ "]"));
637
+ }
638
} finally {
639
inPlain.release();
640
0 commit comments