[FFmpeg-devel] [PATCH] Non-blocking HTTP
Tue Mar 1 11:58:49 CET 2011
Le decadi 30 pluvi?se, an CCXIX, Martin Storsj? a ?crit?:
> I guess you've done extensive tests with handling EAGAIN in inconvenient
> places, e.g. halfway through chunk size and such. The code looks like it's
> originally quite well-prepared for that situation at least.
I thought I did, but it seems it was not enough: this is broken for chunked
uploads. I can make it work, at the cost of some code complexity; but for
now, I withdraw "4/4 HTTP: handle non-blocking".
"3/4 avio: add url_set_nonblock" is suspended pending the great rename of
url_* functions (although I notice that some functions already have the av_
prefix, av_url_set_nonblock would not be out of place).
On the other hand, "1/4 URLContext: introduce a slave URLContext" and
"2/4 HTTP: use URLContext.slave" could still be applied soon I believe.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel