mirror of https://github.com/grpc/grpc.git
Fix a transport leak in subchannel (#32071)
* Use a unique_ptr with custom deleter for grpc_transport in SubchannelConnector::Result * comment * fix * iwyu * std::ignore * review * explicit release ownershippull/32034/head^2
parent
1e32218bb8
commit
fc54381aec
4 changed files with 97 additions and 9 deletions
@ -0,0 +1,86 @@ |
||||
actions { |
||||
create_server { |
||||
channel_args { |
||||
key: "grpc.resource_quota" |
||||
str: "unix::67440737046,,Sac,,t49,Sa\n\000c,,t" |
||||
} |
||||
} |
||||
} |
||||
actions { |
||||
create_channel { |
||||
target: "unix::67440737046,,Sac,,t49,Sa\n\000c,,t" |
||||
channel_args { |
||||
key: "M" |
||||
} |
||||
channel_args { |
||||
key: "grpc.resource_quota" |
||||
resource_quota { |
||||
} |
||||
} |
||||
channel_actions { |
||||
wait_ms: 4096 |
||||
} |
||||
channel_actions { |
||||
add_n_bytes_writable: 1024 |
||||
add_n_bytes_readable: 1 |
||||
} |
||||
channel_actions { |
||||
wait_ms: 1 |
||||
} |
||||
} |
||||
} |
||||
actions { |
||||
create_call { |
||||
method { |
||||
value: "2" |
||||
} |
||||
host { |
||||
value: "1" |
||||
} |
||||
timeout: 1000000127 |
||||
} |
||||
} |
||||
actions { |
||||
resize_resource_quota: 3881880 |
||||
} |
||||
actions { |
||||
queue_batch { |
||||
operations { |
||||
send_initial_metadata { |
||||
metadata { |
||||
key { |
||||
value: "2" |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
||||
actions { |
||||
resize_resource_quota: 4294967294 |
||||
} |
||||
actions { |
||||
} |
||||
actions { |
||||
} |
||||
actions { |
||||
resize_resource_quota: 3881880 |
||||
} |
||||
actions { |
||||
request_call { |
||||
} |
||||
} |
||||
actions { |
||||
} |
||||
actions { |
||||
resize_resource_quota: 3881880 |
||||
} |
||||
actions { |
||||
} |
||||
event_engine_actions { |
||||
tick_lengths { |
||||
} |
||||
tick_lengths { |
||||
delay_us: 5692549928996306944 |
||||
} |
||||
} |
Loading…
Reference in new issue