} else {
assert(encoding == Stream::STREAM_ENCODING_RAW);
}
-
- // Add the data itself.
- iovec iov;
- iov.iov_base = new char[bytes];
- memcpy(iov.iov_base, data, bytes);
- iov.iov_len = bytes;
- queued_data.push_back(iov);
}
void Stream::process_queued_data()