Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Revert "Write maximum of 16KB of data to an SSL connection per tick (…

…fixes #233)" for #273

This reverts commit b237c03.
  • Loading branch information...
commit 86784d267448b6603f81dbbd0f92182c8e3a6a6e 1 parent 7b774d8
@tmm1 tmm1 authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 ext/ed.cpp
View
4 ext/ed.cpp
@@ -1215,18 +1215,16 @@ void ConnectionDescriptor::_DispatchCiphertext()
char BigBuf [2048];
bool did_work;
- int num_chunks = 0;
do {
did_work = false;
// try to drain ciphertext
- while (SslBox->CanGetCiphertext() && num_chunks < 8) {
+ while (SslBox->CanGetCiphertext()) {
int r = SslBox->GetCiphertext (BigBuf, sizeof(BigBuf));
assert (r > 0);
_SendRawOutboundData (BigBuf, r);
did_work = true;
- num_chunks += 1;
}
// Pump the SslBox, in case it has queued outgoing plaintext
Please sign in to comment.
Something went wrong with that request. Please try again.