Downs wrote: > do { > receive; > if (isChunked) { > if (chunkedDownloading) continue; > break; > } > } while (notReceivedEnough) I think this will get you the same result do { receive; } while (isChunked && chunkedDownloading && notReceivedEnough)