File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ private async void ProcessInputStream()
8787                    current  +=  await  _input . ReadBlockAsync ( buffer ,  current ,  1 ) ; 
8888                } 
8989
90-                 var  headersContent  =  Encoding . ASCII . GetString ( Encoding . ASCII . GetBytes ( buffer ,  0 ,  current ) ) ; 
90+                 var  headersContent  =  new   string ( buffer ,  0 ,  current ) ; 
9191                var  headers  =  headersContent . Split ( HeaderKeys ,  StringSplitOptions . RemoveEmptyEntries ) ; 
9292                long  length  =  0 ; 
9393                for  ( var  i  =  0 ;  i  <  headers . Length ;  i  +=  2 ) 
@@ -104,7 +104,7 @@ private async void ProcessInputStream()
104104
105105                await  _input . ReadBlockAsync ( requestBuffer ,  0 ,  requestBuffer . Length ) ; 
106106
107-                 var  payload  =  Encoding . ASCII . GetString ( Encoding . ASCII . GetBytes ( requestBuffer ) ) ; 
107+                 var  payload  =  new   string ( requestBuffer ) ; 
108108
109109                HandleRequest ( payload ) ; 
110110            } 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments