using string concatenation for performence
parent
2cf9a17f25
commit
fbb85c0391
|
@ -181,7 +181,7 @@ module Rex
|
||||||
|
|
||||||
data = ""
|
data = ""
|
||||||
while data.length < size_wanted
|
while data.length < size_wanted
|
||||||
data += @file_handler.read(size_wanted - data.length)
|
data << @file_handler.read(size_wanted - data.length)
|
||||||
end
|
end
|
||||||
attribut += data
|
attribut += data
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue