Commit 5b524ad
committed
[tunnel] add UID-scoped CloseConnectionsByUID method
CloseConnectionsByName matches by TunnelNode name only, which causes
cross-project collisions in multi-tenant environments where multiple
projects have TunnelNodes with the same name. When any project's
TunnelNode is deleted, all connections with that name across all
projects are killed.
Add CloseConnectionsByUID which scopes the close to a specific
TunnelNode UID, avoiding cross-project interference.1 parent 03c5ee8 commit 5b524ad
1 file changed
+21
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
936 | 936 | | |
937 | 937 | | |
938 | 938 | | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
939 | 942 | | |
940 | 943 | | |
941 | 944 | | |
| |||
956 | 959 | | |
957 | 960 | | |
958 | 961 | | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
959 | 980 | | |
960 | 981 | | |
961 | 982 | | |
| |||
0 commit comments