forked from wolfSSL/wolfssl
make sure client GET reads as much as possible
This commit is contained in:
@@ -358,7 +358,7 @@ void client_test(void* args)
|
|||||||
reply[input] = 0;
|
reply[input] = 0;
|
||||||
printf("Server response: %s\n", reply);
|
printf("Server response: %s\n", reply);
|
||||||
|
|
||||||
if (argc == 3) { /* get html */
|
if (sendGET) { /* get html */
|
||||||
while (1) {
|
while (1) {
|
||||||
input = CyaSSL_read(ssl, reply, sizeof(reply));
|
input = CyaSSL_read(ssl, reply, sizeof(reply));
|
||||||
if (input > 0) {
|
if (input > 0) {
|
||||||
|
Reference in New Issue
Block a user