Commit 4ba0035
fix: route connect responses through upstream_addr
When accepting a connect request, route the response and observed address
messages through the upstream peer (where the request came from) rather than
trying to send directly to the joiner. The accepting peer may not have a
direct connection to the joiner in relay scenarios.
This mirrors how response forwarding already works at line 989-994.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent dd5b7ee commit 4ba0035
1 file changed
+9
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
830 | 830 | | |
831 | 831 | | |
832 | 832 | | |
833 | | - | |
834 | | - | |
835 | | - | |
836 | | - | |
837 | | - | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
838 | 836 | | |
839 | 837 | | |
840 | 838 | | |
| |||
876 | 874 | | |
877 | 875 | | |
878 | 876 | | |
879 | | - | |
880 | | - | |
881 | | - | |
882 | | - | |
883 | | - | |
884 | | - | |
885 | | - | |
886 | | - | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
887 | 883 | | |
888 | 884 | | |
889 | 885 | | |
| |||
0 commit comments