On 2001-04-17 16:26:19, "Hartmut Holzgraefe" <[EMAIL PROTECTED]> wrote: > Wez Furlong wrote: > > I'm working on a file abstraction for fopen and friends, > > with the aim of nuking all those issock parameters > > and paving the way so that I can finally integrate > > SSL support for those functions. > > Would that be something as general as the GLIBC fopen cookies? It borrows from that idea, but has to work without them. It takes advantage of fopen cookies is available by allowing you to "cast" the stream into a FILE* regardless of whether it's an fd, socketd, FILE*, SSL socket, memory based stream or whatever. I'm on the verge of checking-in my work-so-far (it can be enabled by --enable-php-streams) so that others can try it and comment. In particular, I would like someone who knows buffers to review the buffering - I've borrowed code from fsock.c but it looks like a memory hog to me, and doesn't allow buffered writes. --Wez -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
- Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TODO-4... Jon Parise
- Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TO... Sterling Hughes
- Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TODO-4.1.txt Zeev Suraski
- Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TODO-4.1.t... Sterling Hughes
- Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TODO-4... Alexander Bokovoy
- Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TO... Zeev Suraski
- Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TO... Sterling Hughes
- Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TODO-4.1.t... Wez Furlong
- Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TODO-4... Stig Sæther Bakken
- Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TODO-4... Hartmut Holzgraefe
- Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TO... Wez Furlong
- Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 ... Zeev Suraski
- Re: [PHP-DEV] Re: [PHP-CVS] cvs: ... Wez Furlong
- Re: [PHP-DEV] Re: [PHP-CVS] cvs: ... Andi Gutmans
- Re: [PHP-DEV] Re: [PHP-CVS] cvs: ... Wez Furlong
- Re: [PHP-DEV] Re: [PHP-CVS] cvs: ... Wez Furlong
- Re: [PHP-DEV] Re: [PHP-CVS] cvs: ... Andi Gutmans
- Re: [PHP-DEV] Re: [PHP-CVS] cvs: ... Andi Gutmans
- Re: [PHP-DEV] Re: [PHP-CVS] cvs: ... Zeev Suraski
- Re: [PHP-DEV] Re: [PHP-CVS] cvs: ... Stig Venaas
- Re: [PHP-DEV] Re: [PHP-CVS] cvs: ... Wez Furlong