Skip to content

Commit

Permalink
Ignore POST request case from a check for background fill (#9013)
Browse files Browse the repository at this point in the history
  • Loading branch information
masaori335 committed Aug 9, 2022
1 parent e921228 commit 1f3e111
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions proxy/http/HttpTunnel.h
Original file line number Diff line number Diff line change
Expand Up @@ -546,12 +546,14 @@ HttpTunnel::has_consumer_besides_client() const
continue;
}

if (consumer.vc_type == HT_HTTP_CLIENT) {
res = false;
switch (consumer.vc_type) {
case HT_HTTP_CLIENT:
continue;
} else {
res = true;
break;
case HT_HTTP_SERVER:
// ignore uploading data to servers
continue;
default:
return true;
}
}

Expand Down

0 comments on commit 1f3e111

Please sign in to comment.