[cifs-protocol] [EXTERNAL] MS-SMB2 over QUIC and usage of QUIC streams - TrackingID#2503280040007778
Stefan Metzmacher
metze at samba.org
Thu May 8 08:41:18 UTC 2025
Hi Kristian,
> After further research, I've determined that our SMB implementation only requests one stream per connection. The MSQUIC implementation then assigns the first available stream ID which would be 0. Since it's a one-to-one relationship, you shouldn't ever see a different stream ID for SMB. The MSQUIC implementation is open-sourced, so you can have a look at how it works. Here is a link to some of the code relevant to stream initialization (everything else is there to peruse as well): https://github.com/microsoft/msquic/blob/ff44a4df1ebf865b38bee600bf15651f36b6d6a6/src/core/stream.c
Ok.
> If you have any further questions, please let me know.
I'm wondering if this should be explained in MS-SMB2.
Thanks!
metze
More information about the cifs-protocol
mailing list