curl / Mailing Lists / curl-users / Single Mail


RTMP streams and '--max-filesize'

From: Gisle Vanem via curl-users <>
Date: Tue, 5 Dec 2017 18:27:56 +0100

I've been building libcurl + curl with 'USE_LIBRTMP'.
But not with any crypto since the latest Rtmp v.2.3 is
hopelessly outdated when it comes to current OpenSSL/mbedTLS.

Anyway, this test works fine:
   curl -o test.flv --max-filesize 10000000 rtmp://

Except that the 'test.flv' is way larger than the given
'--max-filesize'. I guess it does not make sense for an endless

But I'm annoyed that I cannot say "--max-filesize 10M".
Attached is a patch for that.



Received on 2017-12-05