File tree Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change
1
+ ## 4.3.11 / 2022-02-11
2
+
3
+ * Security
4
+ * Always close the response body (GHSA-rmj8 -8hhh-gv5h)
5
+
1
6
## 4.3.10 / 2021-10-12
2
7
3
8
* Bugfixes
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ class UnsupportedOption < RuntimeError
100
100
# too taxing on performance.
101
101
module Const
102
102
103
- PUMA_VERSION = VERSION = "4.3.10 " . freeze
103
+ PUMA_VERSION = VERSION = "4.3.11 " . freeze
104
104
CODE_NAME = "Mysterious Traveller" . freeze
105
105
PUMA_SERVER_STRING = [ 'puma' , PUMA_VERSION , CODE_NAME ] . join ( ' ' ) . freeze
106
106
Original file line number Diff line number Diff line change @@ -873,11 +873,14 @@ def handle_request(req, lines)
873
873
end
874
874
875
875
ensure
876
- uncork_socket client
876
+ begin
877
+ uncork_socket client
877
878
878
- body . close
879
- req . tempfile . unlink if req . tempfile
880
- res_body . close if res_body . respond_to? :close
879
+ body . close
880
+ req . tempfile . unlink if req . tempfile
881
+ ensure
882
+ res_body . close if res_body . respond_to? :close
883
+ end
881
884
882
885
after_reply . each { |o | o . call }
883
886
end
You can’t perform that action at this time.
0 commit comments