Implement zero-copy and make the buffer size configurable.
authorWouter Cloetens <wouter@mind.be>
Fri, 22 Feb 2008 07:20:03 +0000 (07:20 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Fri, 22 Feb 2008 07:20:03 +0000 (07:20 +0000)
commite63b9b56bf433dec2151841aa3dc169b094e092c
treebda7bdede3d82205d226ccaed18e500705445ce1
parent2a424ead4140c779474eed2e31790515907030ac
Implement zero-copy and make the buffer size configurable.

Original commit message from CVS:
Patch by: Wouter Cloetens <wouter at mind dot be>
* configure.ac:
* ext/soup/gstsouphttpsrc.c: (gst_soup_http_src_cancel_message),
(gst_soup_http_src_finished_cb), (gst_soup_http_src_chunk_free),
(gst_soup_http_src_chunk_allocator),
(gst_soup_http_src_got_chunk_cb), (gst_soup_http_src_create),
(gst_soup_http_src_start), (gst_soup_http_src_set_proxy):
* ext/soup/gstsouphttpsrc.h:
Implement zero-copy and make the buffer size configurable.
Prefix proxy URIs with "http://" if they don't start with it
already and catch errors earlier, fixes hanging in some situations.
Fixes bug #514948.
common
ext/soup/gstsouphttpsrc.c
ext/soup/gstsouphttpsrc.h