You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// <exception cref="InvalidOperationException">The size of the packet exceeds the maximum size defined by the protocol.</exception>
362
+
/// <remarks>
363
+
/// <para>
364
+
/// When a session semaphore for this instance has not yet been obtained by this or any other thread,
365
+
/// the thread will block until such a semaphore is available and send a <see cref="ChannelOpenMessage"/>
366
+
/// to the remote host.
367
+
/// </para>
368
+
/// <para>
369
+
/// Note that the session semaphore is released in any of the following cases:
370
+
/// <list type="bullet">
371
+
/// <item>
372
+
/// <description>A <see cref="ChannelOpenFailureMessage"/> is received for the channel being opened.</description>
373
+
/// </item>
374
+
/// <item>
375
+
/// <description>The remote host does not respond to the <see cref="ChannelOpenMessage"/> within the configured <see cref="ConnectionInfo.Timeout"/>.</description>
376
+
/// </item>
377
+
/// <item>
378
+
/// <description>The remote host closes the channel.</description>
379
+
/// </item>
380
+
/// <item>
381
+
/// <description>The <see cref="ChannelSession"/> is disposed.</description>
382
+
/// </item>
383
+
/// <item>
384
+
/// <description>A socket error occurs sending a message to the remote host.</description>
385
+
/// </item>
386
+
/// </list>
387
+
/// </para>
388
+
/// <para>
389
+
/// If the session semaphore was already obtained for this instance (and not released), then this method
390
+
/// immediately returns control to the caller. This should only happen when another thread has obtain the
391
+
/// session semaphore and already sent the <see cref="ChannelOpenMessage"/>, but the remote host did not
392
+
/// confirmed or rejected attempt to open the channel.
393
+
/// </para>
394
+
/// </remarks>
395
+
privatevoidSendChannelOpenMessage()
360
396
{
361
397
// do not allow open to be ChannelOpenMessage to be sent again until we've
362
398
// had a response on the previous attempt for the current channel
0 commit comments