mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
MiniSSL::Socket#write - use data.byteslice(wrote..-1) (#2543)
Instead of data[wrote..-1]
This commit is contained in:
parent
37f47cad94
commit
a5c4b1e130
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
## 5.2.1 / 2021-01-
|
||||
|
||||
* Bugfixes
|
||||
* MiniSSL::Socket#write - use data.byteslice(wrote..-1) ([#2543])
|
||||
|
||||
## 5.2.0 / 2021-01-27
|
||||
|
||||
* Features
|
||||
|
|
|
@ -133,7 +133,7 @@ module Puma
|
|||
|
||||
return data_size if need == 0
|
||||
|
||||
data = data[wrote..-1]
|
||||
data = data.byteslice(wrote..-1)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue