summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2005-09-15 09:47:30 +0200
committerunknown <msvensson@neptunus.(none)>2005-09-15 09:47:30 +0200
commitcf23558dd0f3c60382d59e5d571b7e5d20e174d5 (patch)
tree534b830c8f31fed022fac79a0238b912121f1a0a /extra
parentb763c011b04b7a33113b91091ac65c9f8c77a011 (diff)
parent3cf33e7a4a07b72e2c098c91a4da5cbb7f2a69c5 (diff)
downloadmariadb-git-cf23558dd0f3c60382d59e5d571b7e5d20e174d5.tar.gz
Merge neptunus.(none):/home/msvensson/mysql/bug13029/my50-bug13029
into neptunus.(none):/home/msvensson/mysql/bug13029/my51-bug13029
Diffstat (limited to 'extra')
-rw-r--r--extra/yassl/src/ssl.cpp18
1 files changed, 15 insertions, 3 deletions
diff --git a/extra/yassl/src/ssl.cpp b/extra/yassl/src/ssl.cpp
index d37c44049b2..8cea205377e 100644
--- a/extra/yassl/src/ssl.cpp
+++ b/extra/yassl/src/ssl.cpp
@@ -171,13 +171,25 @@ int SSL_accept(SSL* ssl)
sendServerHelloDone(*ssl);
ssl->flushBuffer();
- processReply(*ssl);
+ // Java Client sends fragmented response
+ while (ssl->getStates().getServer() <
+ clientFinishedComplete) {
+ if (ssl->GetError()) break;
+ processReply(*ssl);
+ }
}
sendChangeCipher(*ssl);
sendFinished(*ssl, server_end);
ssl->flushBuffer();
- if (ssl->getSecurity().get_resuming())
- processReply(*ssl);
+ if (ssl->getSecurity().get_resuming()) {
+
+ // Java Client sends fragmented response
+ while (ssl->getStates().getServer() <
+ clientFinishedComplete) {
+ if (ssl->GetError()) break;
+ processReply(*ssl);
+ }
+ }
ssl->useLog().ShowTCP(ssl->getSocket().get_fd());