mirror of
				https://gitea.invidious.io/iv-org/shard-kemal.git
				synced 2024-08-15 00:53:36 +00:00 
			
		
		
		
	Do not early return from HTTP::Server::Response::Output.close. Revert what Ameba broke
This commit is contained in:
		
							parent
							
								
									f3d02e60af
								
							
						
					
					
						commit
						e3544a86bf
					
				
					 2 changed files with 21 additions and 12 deletions
				
			
		|  | @ -1,7 +1,7 @@ | |||
| class HTTP::Server::Response | ||||
|   class Output | ||||
|     def close | ||||
|       if !response.wrote_headers? && response.headers.has_key?("Content-Range") | ||||
|       unless response.wrote_headers? && !response.headers.has_key?("Content-Range") | ||||
|         response.content_length = @out_count | ||||
|       end | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue