make sure client GET reads as much as possible

This commit is contained in:
toddouska 2012-08-02 12:15:42 -07:00
parent bdf11587c2
commit 901730e86e

View File

@ -358,7 +358,7 @@ void client_test(void* args)
reply[input] = 0;
printf("Server response: %s\n", reply);
if (argc == 3) { /* get html */
if (sendGET) { /* get html */
while (1) {
input = CyaSSL_read(ssl, reply, sizeof(reply));
if (input > 0) {