[cifs-protocol] [EXTERNAL] MS-SMB2 over QUIC and usage of QUIC streams - TrackingID#2503280040007778
Kristian Smith
Kristian.Smith at microsoft.com
Thu May 8 22:34:06 UTC 2025
Hi Metze,
I agree that it would be valuable to include the 1:1 nature of connections to streams and hopefully a link to the MSQUIC GitHub project as well. I'm currently working with the MSQUIC development team in effort to add clarity to the [MS-SMB2] specifications on this topic.
Thanks for your feedback.
Regards,
Kristian Smith
Support Escalation Engineer | Microsoft(r) Corporation
Email: kristian.smith at microsoft.com
-----Original Message-----
From: Stefan Metzmacher <metze at samba.org>
Sent: Thursday, May 8, 2025 1:41 AM
To: Kristian Smith <Kristian.Smith at microsoft.com>
Cc: cifs-protocol at lists.samba.org; Microsoft Support <supportmail at microsoft.com>
Subject: Re: [EXTERNAL] MS-SMB2 over QUIC and usage of QUIC streams - TrackingID#2503280040007778
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