souphttpsrc: Reading in too big blocksizes can cause the connection to time out
@drakkan
Submitted by Nicola Link to original bug (#795176)
Description
please try this pipeline:
gst-launch-1.0 -v souphttpsrc location="http://root:prassel1@93.63.189.11:56182/axis-cgi/record/export/exportrecording.cgi?schemaversion=1&recordingid=20180411_132332_237E_ACCC8E5CE596&exportformat=matroska&diskid=SD_DISK&starttime=2018-04-11T11:23:32Z&stoptime=2018-04-11T11:29:47Z" ! matroskademux ! fakesink silent=false sync=false
the last buffer pts will be 0:06:13.674000000
now change sync=false to sync=true
the last buffer pts will vary every time and it never reachs 0:06:13.674000000
the server is ok, using curl, wget ecc.. and limit-rate option the problem does not happen.
I tested also with a custom element based on ffmpeg (avsrc, bug 788583) and it works the same way with sync=true and sync=false
so the problem is in souphttpsrc or libsoup and it is probably related to the missing Content-Length header