summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlishu <[email protected]>2020-06-17 15:08:18 +0800
committerlishu <[email protected]>2020-06-17 15:08:18 +0800
commit52880dff4b822d77e83b3102413aff105302f806 (patch)
treefc92b46c228923e4ea1045e6d86240e5537f5762
parent64fa6a9ff891267baab13a6fcc0187a4f54c029a (diff)
increase MAX_DATA_BUFFER 40960
-rw-r--r--src/SSL_Analyze.c4
-rw-r--r--src/SSL_Message.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/SSL_Analyze.c b/src/SSL_Analyze.c
index 75d5277..b6677ea 100644
--- a/src/SSL_Analyze.c
+++ b/src/SSL_Analyze.c
@@ -21,7 +21,7 @@
ssl_prog_runtime_parameter_t g_ssl_prog_para;
-int SSL_VERSION_1_20200615 = 0;
+int SSL_VERSION_1_20200617 = 0;
void ssl_history()
{
@@ -71,6 +71,8 @@ void ssl_history()
//2019-12-20 V0.2 add info statistics
//2020-01-09 V0.2 add stream tag
//2020-06-15 V0.2 memset buf
+//2020-06-17 V0.2 increase MAX_DATA_BUFFER 40960
+
//to do
//certificate ANSL
diff --git a/src/SSL_Message.h b/src/SSL_Message.h
index 3bef42b..d045eb4 100644
--- a/src/SSL_Message.h
+++ b/src/SSL_Message.h
@@ -7,7 +7,7 @@
#define MIN(a, b) ((a) <= (b) ? (a):(b))
-#define MAX_DATA_BUFFER 10240
+#define MAX_DATA_BUFFER 40960
#define SSL_HEADER_LEN 5+1 //use the hand_shake first bytes