Skip to content

Commit

Permalink
Fix for versionless protocols
Browse files Browse the repository at this point in the history
  • Loading branch information
k-fish committed Jul 17, 2023
1 parent ee06994 commit 7525845
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/tracing-internal/src/browser/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,10 @@ export function extractNetworkProtocol(nextHopProtocol: string): { name: string;
}
_name += char;
}
if (_name === name) {
// webrtc, ftp, etc.
name = _name;
}
return { name, version };
}

Expand Down

0 comments on commit 7525845

Please sign in to comment.