Definition at line 324 of file Http3Connection.cs.
325 {
327 try
328 {
330 try
331 {
333 {
334 throw new Http3ConnectionException(
Http3ErrorCode.StreamCreationError);
335 }
337 int num;
338 try
339 {
341 }
343 {
344 num = 0;
345 }
346 if (num == 0)
347 {
348 return;
349 }
351 switch (
buffer.ActiveSpan[0])
352 {
353 case 0:
354 {
356 {
357 throw new Http3ConnectionException(
Http3ErrorCode.StreamCreationError);
358 }
363 return;
364 }
365 case 3:
367 {
368 throw new Http3ConnectionException(
Http3ErrorCode.StreamCreationError);
369 }
372 return;
373 case 2:
375 {
376 throw new Http3ConnectionException(
Http3ErrorCode.StreamCreationError);
377 }
380 return;
381 case 1:
383 }
385 {
389 {
390 buffer.EnsureAvailableSpace(8);
392 if (num == 0)
393 {
395 break;
396 }
398 }
400 }
402 }
403 finally
404 {
407 {
409 }
410 }
411 }
413 {
415 }
416 finally
417 {
419 }
420 }
static readonly Stream Null
int _haveServerQpackDecodeStream
int _haveServerQpackEncodeStream
async Task ProcessServerControlStreamAsync(QuicStream stream, System.Net.ArrayBuffer buffer)
int _haveServerControlStream
static readonly System.Net.NetEventSource Log
static void Info(object thisOrContextObject, FormattableString formattableString=null, [CallerMemberName] string memberName=null)
static int Exchange(ref int location1, int value)
static CancellationToken None
References System.Net.Http.Http3Connection._haveServerControlStream, System.Net.Http.Http3Connection._haveServerQpackDecodeStream, System.Net.Http.Http3Connection._haveServerQpackEncodeStream, System.Net.Abort, System.buffer, System.Threading.Interlocked.Exchange(), System.Net.NetEventSource.Info(), System.L, System.Net.NetEventSource.Log, System.Threading.CancellationToken.None, System.IO.Stream.Null, System.Net.Http.Http3Connection.ProcessServerControlStreamAsync(), System.stream, System.Net.Http.VariableLengthIntegerHelper.TryRead(), and System.value.
Referenced by System.Net.Http.Http3Connection.AcceptStreamsAsync().