Kevin Hester
cad8234b00
BUG: ssl: send payload gets corrupted if tune.ssl.maxrecord is used
...
We were using "tune.ssl.maxrecord 2000" and discovered an interesting
problem: SSL data sent from the server to the client showed occasional
corruption of the payload data.
The root cause was:
When ssl_max_record is smaller than the requested send amount
the ring buffer wrapping wasn't properly adjusting the
number of bytes to send.
I solved this by selecting the initial size based on the number
of output bytes that can be sent without splitting _before_ checking
against ssl_max_record.
2013-05-31 12:17:04 +02:00
..
2013-04-11 08:17:37 +02:00
2012-10-29 16:57:30 +01:00
2013-04-03 02:13:02 +02:00
2012-05-10 23:25:35 +02:00
2013-05-11 08:03:37 +02:00
2010-10-30 19:04:33 +02:00
2012-12-17 01:14:49 +01:00
2013-05-29 00:37:16 +02:00
2012-10-26 01:08:01 +02:00
2013-05-01 10:09:30 +02:00
2012-12-23 21:46:07 +01:00
2013-04-28 09:01:11 +02:00
2012-12-17 01:14:25 +01:00
2012-10-05 22:18:07 +02:00
2013-04-20 09:48:50 +02:00
2013-01-18 15:31:03 +01:00
2012-12-14 00:17:03 +01:00
2013-03-31 15:01:01 +02:00
2013-03-31 15:01:05 +02:00
2012-11-12 01:57:14 +01:00
2012-12-29 21:50:07 +01:00
2013-04-03 02:13:00 +02:00
2013-05-01 10:09:30 +02:00
2013-05-14 20:56:28 +02:00
2011-10-24 18:15:04 +02:00
2012-10-08 20:11:03 +02:00
2013-04-12 14:46:51 +02:00
2012-04-07 09:08:45 +02:00
2009-10-26 21:10:04 +01:00
2009-10-26 21:10:04 +01:00
2010-03-12 06:22:16 +01:00
2013-04-03 02:13:00 +02:00
2013-04-12 18:36:00 +02:00
2012-05-08 21:28:16 +02:00
2013-04-03 02:13:00 +02:00
2013-05-28 17:43:40 +02:00
2011-10-24 17:09:22 +02:00
2013-04-21 08:16:10 +02:00
2013-05-29 00:37:16 +02:00
2013-03-11 01:30:01 +01:00
2012-09-15 22:29:32 +02:00
2013-04-12 18:36:00 +02:00
2012-11-12 00:42:33 +01:00
2013-04-06 11:46:27 +02:00
2007-01-07 02:12:57 +01:00
2010-01-28 18:10:50 +01:00
2013-04-03 02:13:02 +02:00
2013-02-13 10:59:50 +01:00
2013-05-29 15:54:14 +02:00
2008-08-13 23:43:26 +02:00
2013-04-26 19:15:52 +02:00
2013-01-24 16:19:19 +01:00
2013-05-31 12:17:04 +02:00
2013-04-15 22:50:33 +02:00
2013-05-29 15:54:14 +02:00
2012-12-30 01:39:37 +01:00
2011-09-10 20:08:49 +02:00
2012-12-29 21:50:07 +01:00
2012-05-26 00:12:37 +02:00
2013-01-24 16:19:19 +01:00