drogon
drogon copied to clipboard
Passing binary arrays to setBody
https://github.com/drogonframework/drogon/issues/2139
I have no right to request any changes at all, but the current state of this PR is not something I would support.
Having to allocate my memory to transfer is as good/bad as copying it, so nothing changes here at all IMHO. Sorry for the harsh feedback though :/
I understand that we provide a method to take over externally allocated memory and avoid constructing strings,If this MR does not meet your needs, you can initiate a new MR based on your requirements