forked from wolfSSL/wolfssl
lower example client/server stack buffer sizes
This commit is contained in:
@ -127,8 +127,8 @@ THREAD_RETURN CYASSL_THREAD client_test(void* args)
|
|||||||
char resumeMsg[] = "resuming cyassl!";
|
char resumeMsg[] = "resuming cyassl!";
|
||||||
int resumeSz = sizeof(resumeMsg);
|
int resumeSz = sizeof(resumeMsg);
|
||||||
|
|
||||||
char msg[64] = "hello cyassl!";
|
char msg[32] = "hello cyassl!"; /* GET may make bigger */
|
||||||
char reply[1024];
|
char reply[80];
|
||||||
int input;
|
int input;
|
||||||
int msgSz = (int)strlen(msg);
|
int msgSz = (int)strlen(msg);
|
||||||
|
|
||||||
|
@ -120,7 +120,7 @@ THREAD_RETURN CYASSL_THREAD server_test(void* args)
|
|||||||
SSL* ssl = 0;
|
SSL* ssl = 0;
|
||||||
|
|
||||||
char msg[] = "I hear you fa shizzle!";
|
char msg[] = "I hear you fa shizzle!";
|
||||||
char input[1024];
|
char input[80];
|
||||||
int idx;
|
int idx;
|
||||||
int ch;
|
int ch;
|
||||||
int version = SERVER_DEFAULT_VERSION;
|
int version = SERVER_DEFAULT_VERSION;
|
||||||
|
Reference in New Issue
Block a user