summaryrefslogtreecommitdiffstats
path: root/test/com
diff options
context:
space:
mode:
authorNick Hudson <nick.hudson@isode.com>2012-04-25 14:32:39 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-04-27 11:06:19 (GMT)
commit9217dc0c6033f9d70c87ba4a84f5bbafe2c1e6ac (patch)
treee691768f08b1ee06b59bbd65b7c6604eefb5209d /test/com
parent407ea69176af9045f3f07bbcafd8d1c718846711 (diff)
downloadstroke-9217dc0c6033f9d70c87ba4a84f5bbafe2c1e6ac.zip
stroke-9217dc0c6033f9d70c87ba4a84f5bbafe2c1e6ac.tar.bz2
Remove "max" limit on buffer size for SSL connections
The original implementation of JSSEContext allocated buffers for the SSL data which started off at a size determined using information from the SSLSession, and which were allowed to grow to up to ten times their original size. When testing with jabber.org it was fairly easy to exceed this size (e.g. requiring a buffer of ~650K where the maximum value had been around 160K), meaning that applications would fail. This change removes the upper limit altogether. Now, the buffer will grow to whatever is required, so long as free memory is available. I also renamed "enlargeBuffer" in response to a previous review comment Test-information: No longer see problems when talking to jabber.org over SSL. Instrumentation shows that buffer is growing as expected.
Diffstat (limited to 'test/com')
0 files changed, 0 insertions, 0 deletions