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: [email protected]

-----Original Message-----
From: Stefan Metzmacher <[email protected]>
Sent: Thursday, May 8, 2025 1:41 AM
To: Kristian Smith <[email protected]>
Cc: [email protected]; Microsoft Support <[email protected]>
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

_______________________________________________
cifs-protocol mailing list
[email protected]
https://lists.samba.org/mailman/listinfo/cifs-protocol

Reply via email to