1
0
Fork 0
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:
MSP-Greg 2021-02-01 15:11:48 -06:00 committed by GitHub
parent 37f47cad94
commit a5c4b1e130
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -133,7 +133,7 @@ module Puma
return data_size if need == 0
data = data[wrote..-1]
data = data.byteslice(wrote..-1)
end
end