-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126936/
-----------------------------------------------------------

Review request for KDE Frameworks, David Faure and Luigi Toscano.


Repository: kio


Description
-------

Switch from a `QByteArray` to a simplier stack-based char array, using the 
actual number of bytes read when sending the data using `data()` (reusing the 
memory from the array).

This removes the garbage sent when serving static files, i.e. those stored in 
directories and not as part of a `.cache.bz2` file.


Diffs
-----

  src/ioslaves/help/kio_help.cpp 7b97599a250f113e25b9c6efe238afab08b3fe2c 

Diff: https://git.reviewboard.kde.org/r/126936/diff/


Testing
-------

The data sent for static files now is the actual bytes of the files, without 
garbage at the end.


Thanks,

Pino Toscano

_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

Reply via email to