File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed 
src/Servers/Kestrel/test/Interop.FunctionalTests/Http2 Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -239,13 +239,17 @@ public async Task GET_RequestReturnsLargeData_GracefulShutdownDuringRequest_Requ
239239            async  c => 
240240            { 
241241                await  syncPoint . WaitToContinue ( ) ; 
242+ 
242243                var  memory  =  c . Response . BodyWriter . GetMemory ( randomBytes . Length ) ; 
244+ 
243245                logger . LogInformation ( $ "Server writing { randomBytes . Length }  bytes response") ; 
244246                randomBytes . CopyTo ( memory ) ; 
247+ 
245248                // It's important for this test that the large write is the last data written to 
246249                // the response and it's not awaited by the request delegate. 
247250                logger . LogInformation ( $ "Server advancing { randomBytes . Length }  bytes response") ; 
248251                c . Response . BodyWriter . Advance ( randomBytes . Length ) ; 
252+ 
249253                if  ( hasTrailers ) 
250254                { 
251255                    c . Response . AppendTrailer ( "test-trailer" ,  "value!" ) ; 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments