From 5098fafaed71fc77a650eb036ed076f3e1f92320 Mon Sep 17 00:00:00 2001 From: Geoffrey Kizer Date: Tue, 20 Jul 2021 18:04:15 -0700 Subject: [PATCH] PR feedback --- .../Net/Quic/Implementations/MsQuic/MsQuicStream.cs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/MsQuic/MsQuicStream.cs b/src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/MsQuic/MsQuicStream.cs index 353b87cf4cce3..616d83788a67c 100644 --- a/src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/MsQuic/MsQuicStream.cs +++ b/src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/MsQuic/MsQuicStream.cs @@ -780,11 +780,6 @@ private static uint HandleEvent(State state, ref StreamEvent evt) // Peer has stopped receiving data, don't send anymore. case QUIC_STREAM_EVENT_TYPE.PEER_RECEIVE_ABORTED: return HandleEventPeerRecvAborted(state, ref evt); - // Occurs when shutdown is completed for the send side. - // This only happens for shutdown on sending, not receiving - // Receive shutdown can only be abortive. - case QUIC_STREAM_EVENT_TYPE.SEND_SHUTDOWN_COMPLETE: - return HandleEventSendShutdownComplete(state, ref evt); // Shutdown for both sending and receiving is completed. case QUIC_STREAM_EVENT_TYPE.SHUTDOWN_COMPLETE: return HandleEventShutdownComplete(state, ref evt); @@ -919,11 +914,6 @@ private static uint HandleEventStartComplete(State state, ref StreamEvent evt) return MsQuicStatusCodes.Success; } - private static uint HandleEventSendShutdownComplete(State state, ref StreamEvent evt) - { - return MsQuicStatusCodes.Success; - } - private static uint HandleEventShutdownComplete(State state, ref StreamEvent evt) { StreamEventDataShutdownComplete shutdownCompleteEvent = evt.Data.ShutdownComplete;