Changeset - r28377:d7ceb84d9d5a
[Not reviewed]
master
0 1 0
Jonathan G Rennison - 11 months ago 2024-01-01 19:13:29
j.g.rennison@gmail.com
Fix: Spurious cancellations of HTTP content downloads (#11668)
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/network/network_content.cpp
Show inline comments
 
@@ -609,6 +609,8 @@ void ClientNetworkContentSocketHandler::
 
	/* Ignore any latent data coming from a connection we closed. */
 
	if (this->http_response_index == -2) return;
 

	
 
	this->lastActivity = std::chrono::steady_clock::now();
 

	
 
	if (this->http_response_index == -1) {
 
		if (data != nullptr) {
 
			/* Append the rest of the response. */
0 comments (0 inline, 0 general)