GNOME Bugzilla – Bug 759145
[Patch] souphttpclientsink: Add buffers-max to limit the number of buffers ever attempted in a single PUT.
Last modified: 2018-11-03 15:06:34 UTC
Created attachment 316906 [details] [review] Add buffers-max to limit the number of buffers ever attempted in a single PUT Add buffers-max to limit the number of buffers ever attempted in a single PUT. To write a single buffer at a time (for example, thumbnail images) set this to 1. Defaults to zero, meaning unlimited.
Thanks for the patch. Could you expand on the use case for this?
We have two. The first is that we need to limit the length of the total size of the HTTP body, as further downstream processing is taking place that isn't able to work on unbounded data sizes. The second is that on particular case we're generating thumbnails and submitting it to a service via HTTP. Right now, two or more thumbnails are concatenated together by gstreamer and that makes life hard for the downstream service, which wants images one at a time. The current behaviour is effectively unbounded, and creates all sorts of failure cases which can be avoided if the souphttpclientsink can be told to pause once it reaches a certain size, allowing the gstreamer queue to soak up the delay.
Quick bump on this one, would it be possible to respond to the comment above?
This would only matter in multiplexed/chunked mode, no ? Also Is it still valid ?
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/244.