curl-library
Re: [PATCH] modular I/O
Date: Wed, 05 May 2010 22:23:55 -0700
Howard Chu wrote:
> Daniel Stenberg wrote:
>> On Sun, 2 May 2010, Howard Chu wrote:
>>> I'll need to study the libcurl code and think about this some more...
>>
>> Sure! Just ask if there's anything else I can help to clarify (or totally
>> confuse you with!) ;-)
>
> After studying the ssh code and other bits it looked like it was going to get
> ugly fitting RTMP_Read and RTMP_Write support into the existing
> infrastructure. So I've written this patch to split the I/O handling out of
> sendf.c into private handlers. Please consider adopting this, it will make
> future protocol additions a lot easier.
>
> I also replaced the (error == -1) /* EWOULDBLOCK */ kludge with CURLE_AGAIN; I
> think that clarifies things a bit but it could probably be cleaned up further.
One more try. Deleted the "for documentation see sslgen.h" comments since the
send and recv typedefs are documented in urldata.h
-- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
- text/plain attachment: dif.txt