New issue
Advanced search Search tips

Issue 796818 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jan 3
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

StringDataPipeProducer makes a potentially unnecessary copy

Project Member Reported by dmu...@chromium.org, Dec 21 2017

Issue description

I want to use StringDataPipeProducer for something that has it's own data string that it owns. This data string could be big.

StringDataPipeProducer does a copy of the string if it can't write the whole thing. I would like there to be an option for it to not copy the string and trust that the original StringPiece will be valid until the |callback| is called.
 
Status: Fixed (was: Assigned)

Sign in to add a comment