You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Usage report transport type is wrong for QUIC #8274
bugA problem with current functionality, as opposed to missing functionality (enhancement)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussion
bugA problem with current functionality, as opposed to missing functionality (enhancement)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussion
Activity
bt90 commentedon Sep 8, 2023
syncthing/lib/connections/structs.go
Lines 127 to 137 in f25a169
I wonder if it's simply caused by the transport listening on
[::]? Switching toc.RemoteAddr()should solve that.bt90 commentedon Sep 17, 2023
It is.
bt90 commentedon Sep 17, 2023
Looks like
LocalAddr()provides only the unresolved address we're listening on?bt90 commentedon Sep 19, 2023
@marten-seemann we're using
LocalAddr()as provided by quic-go'sConnectioninterface as far as I can see.calmh commentedon Sep 19, 2023
So we switch to using the remote address? No need to investigate much deeper, imho.
bt90 commentedon Sep 19, 2023
From our project's perspective, yes. This still looks like a bug to me, which, if correct, should be fixed upstream.
calmh commentedon Sep 19, 2023
Maybe? Do other "regular" sockets behave differently? For UDP I think this might be expected regardless of what QUIC does.
lib/connections: Fix transport type detection for QUIC (fixes #8274) (#…
Squashed commit of the following (actually merge upstream/main):