> -----Original Message-----
> From: Ivan Zhakov [mailto:[email protected]]
> Sent: dinsdag 3 november 2015 15:01
> To: [email protected]
> Subject: serf_bucket_copy_create() wrapped bucket ownership
>
> Should serf_bucket_destroy() for COPY_BUCKET destroy wrapped bucket or
> not? Currently it doesn't and this is inconsistent with other buckets
> behavior.
I think it should.
Only in very specific cases a bucket shouldn't destroy its inner stream.
Buckets that explicitly read some prefix of another stream that is not yet
closed (or more in particular the http2 unframe stream) is one of such
exceptions, but I don't see why the copy stream should be one of them.
Bert
>
> --
> Ivan Zhakov