Package list libpoe-component-sslify-perl / 26ef9be
clamp the writes Apocalypse 7 years ago
2 changed file(s) with 6 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
11
22 {{$NEXT}}
33 add informational test that prints out ssleay version
4 clamp the writes to 16K internally to get around write errors reported by RT#95071 and RT#58243, thanks!
45
56 1.009 2014-11-12T00:41:25Z UTC
67 - Updates to the auto-generated files
152152 # If we have nothing to offset, then start from the beginning
153153 if ( ! defined $offset ) {
154154 $offset = 0;
155 }
156
157 # Thanks to RT#95071 and RT#58243 we need to clamp the length to the TLS 16K limit
158 if ( $len > 16384 ) {
159 $len = 16384;
155160 }
156161
157162 # We count the number of characters written to the socket