I will send the latest version of my patchset as git send-email messages. The major changes are: - Introduction of constants to distinguish the types of client the library is dealing with. (HTTP_ONESHOT, HTTP_MULTI, HTTP_MULTI_CLIENT) - Usage of the AVOption system for communication during handshake - http_handshake() implemented to allow multiple round-trips between application and library.
> [...] > > + cc = (*c)->priv_data; > > + if ((ret = ffurl_accept(sl, &cl)) < 0) > > + goto fail; > > > + cc->hd = cl; > > Does it make sense to set "cc->listen = 1" here, to indicate that the client > is not yet a normal client? It may make the tests for trailers simpler. It makes sense to set cc->listen here, since it indicates to the library that it has to send server-responses. However, it does not seem to make tests for trailers simpler, or I am not seeing it. Regards, Stephan _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel