Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WebTransport] Check event type before using its properties (#31036)
The below code is problematic if self._session_stream_id == event.stream_id and\ isinstance(event, WebTransportStreamDataReceived): because it uses event's property before checking its type. This leads to errors when event without stream_id comes here. This change fixes that.
- Loading branch information