File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 6060                // TODO: There should be a way to do following two lines cleaner... 
6161                buf. put_slice ( & prefix[ ..copy_len] ) ; 
6262                prefix. advance ( copy_len) ; 
63-                 // Put back whats  left 
63+                 // Put back what's  left 
6464                if  !prefix. is_empty ( )  { 
6565                    self . pre  = Some ( prefix) ; 
6666                } 
Original file line number Diff line number Diff line change @@ -586,7 +586,7 @@ where
586586        } 
587587    } 
588588
589-     // Fix keep-alives  when Connection: keep-alive header is not present 
589+     // Fix keep-alive  when Connection: keep-alive header is not present 
590590    fn  fix_keep_alive ( & mut  self ,  head :  & mut  MessageHead < T :: Outgoing > )  { 
591591        let  outgoing_is_keep_alive = head
592592            . headers 
Original file line number Diff line number Diff line change @@ -949,7 +949,7 @@ impl Http1Transaction for Client {
949949                        #[ cfg( feature = "ffi" ) ]  
950950                        let  reason = { 
951951                            let  reason = res. reason . unwrap ( ) ; 
952-                             // Only save the reason phrase if it isnt  the canonical reason 
952+                             // Only save the reason phrase if it isn't  the canonical reason 
953953                            if  Some ( reason)  != status. canonical_reason ( )  { 
954954                                Some ( Bytes :: copy_from_slice ( reason. as_bytes ( ) ) ) 
955955                            }  else  { 
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ where
143143            #[ cfg( feature = "runtime" ) ]  
144144            keep_alive_timeout :  config. keep_alive_timeout , 
145145            // If keep-alive is enabled for servers, always enabled while 
146-             // idle, so it can more aggresively  close dead connections. 
146+             // idle, so it can more aggressively  close dead connections. 
147147            #[ cfg( feature = "runtime" ) ]  
148148            keep_alive_while_idle :  true , 
149149        } ; 
@@ -264,7 +264,7 @@ where
264264                        let  reason = err. h2_reason ( ) ; 
265265                        if  reason == Reason :: NO_ERROR  { 
266266                            // NO_ERROR is only used for graceful shutdowns... 
267-                             trace ! ( "interpretting  NO_ERROR user error as graceful_shutdown" ) ; 
267+                             trace ! ( "interpreting  NO_ERROR user error as graceful_shutdown" ) ; 
268268                            self . conn . graceful_shutdown ( ) ; 
269269                        }  else  { 
270270                            trace ! ( "abruptly shutting down with {:?}" ,  reason) ; 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments