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