diff --git a/lib/service.c b/lib/service.c index 31c96b19..84e489dd 100644 --- a/lib/service.c +++ b/lib/service.c @@ -658,9 +658,8 @@ spin_chunks: if (wsi->chunked && !wsi->chunk_remaining) wsi->chunk_parser = ELCP_POST_CR; - if (wsi->chunked && *len) { + if (wsi->chunked && *len) goto spin_chunks; - } if (wsi->chunked) return 0; diff --git a/test-server/test-client.c b/test-server/test-client.c index fd0a724f..200e9e43 100644 --- a/test-server/test-client.c +++ b/test-server/test-client.c @@ -180,13 +180,6 @@ callback_dumb_increment(struct lws *wsi, enum lws_callback_reasons reason, */ if (lws_http_client_read(wsi, &px, &lenx) < 0) return -1; - - if (lenx) { - lwsl_info("LWS_CALLBACK_RECEIVE_CLIENT_HTTP %ld\n", - (long)lenx); - - show_http_content(px, lenx); - } } break;