Merge pull request #9823

4acc0ea41 Limit scope of TCP checks to incoming only (Lee *!* Clagett)
This commit is contained in:
tobtoht
2025-03-11 19:14:15 +00:00

View File

@@ -908,7 +908,7 @@ namespace net_utils
auto *limit = static_cast<shared_state&>(
connection_basic::get_state()
).plimit;
if (limit && limit->is_host_limit(*real_remote))
if (is_income && limit && limit->is_host_limit(*real_remote))
return false;
ec_t ec;