httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org (David N. Welton)
Subject Re: Upload Hook
Date Wed, 14 Mar 2001 12:07:40 GMT
Joe Schaefer <joe@sunstarsys.com> writes:

> I took another look at your patch, and I see now that I was
> confused. Your hook is on the request object, *not* on the upload
> object.  Questions 1 is obvious now, and 2 isn't directly relevant,
> sorry about that.

> > 3) How does a single hook know when one file's data has ended and 
> >    another file's contents have begun?

> I still don't understand how to deal with Question 3.  What happens
> when a single request uploads two files? How are the contents
> distinguished- via upload->size or something?

Hrm, I hadn't considered this...  I'll have another look at things.
Any other considerations?  BTW, I like the idea of using mkstemp so
that the name is available.

Thanks for your time,
-- 
David N. Welton
     Personal:           http://www.efn.org/~davidw/  
Free Software:           http://people.debian.org/~davidw/
   Apache Tcl:           http://tcl.apache.org

Mime
View raw message