Summary: Based on new FileRegion interface
Test Plan: ran it, streamed lots of files. I have found an obscure way to break it but I don't think it's a FileRegion issue, rather a pipeline/bootstrap issue. Still digging
Reviewed By: hans@fb.com
Subscribers: fugalh, folly-diffs@, jsedgwick, yfeldblum, chalfant
FB internal diff:
D2088094
Signature: t1:
2088094:
1432758904:
0f1e5765dbedea5ddbe047db50e7b632cfb0c053
virtual void deletePipeline(PipelineBase* pipeline) = 0;
};
-class PipelineBase {
+class PipelineBase : public DelayedDestruction {
public:
virtual ~PipelineBase() {}
* If W is Nothing, write() and close() will be disabled.
*/
template <class R, class W = Nothing>
-class Pipeline : public PipelineBase, public DelayedDestruction {
+class Pipeline : public PipelineBase {
public:
Pipeline();
~Pipeline();