httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (David N. Welton)
Subject Re: apreq-2 uploads as bucket brigades?
Date Wed, 22 Jan 2003 00:37:22 GMT
Stas Bekman <> writes:

> Joe Schaefer wrote:

> >>FILE*'s can be passed to Tcl to create new file handles, and this
> >>is something that I feel is useful, because it gives you a really
> >>simple API for dealing with smaller files, even if it's not
> >>terribly efficient.

> > It is useful, natural, and convenient.  I'd just like to avoid
> > making it mandatory like we did with apreq-1.  XForms will present
> > a new set of needs for our mfd parser, and the extra flexibility
> > of brigades over a vanilla FILE* pointer could be a really big
> > winner there.

> Though it's not crossplatform. That's why apr is using apr_file_t
> and provides the method to extract the native implementation
> (FILE/HANDLE/...). I believe we should be using apr_file_t and not
> FILE*.

+1 to that.  Tcl uses the same thing (the native implementation), I
and it would be better to have a HANDLE instead of a FILE on windows.

David N. Welton
Free Software:
   Apache Tcl:

View raw message