On 11/24/09 5:13 PM, John Buckman wrote:
> Is there any access (in C or Tcl) to an upload-in-progress in aolserver?

It'd be nice if we extended ns_info with [ns_info driver ...] that could
give you connection-level info. from the driver thread.  In its simplest
form, all we need is to expose the total bytes read/written on a socket
from the driver thread.  Bytes read of the POST request's body and the
anticipated Content-Length enables us to compute a rough "progress" -
using the unique URL bit gives us an opaque handle to identify which
connection we're interested in.

Fortunately for me, I haven't built any applications where large file
upload handling has been a requirement.  ;-)


-- 
Dossy Shiobara              | [email protected] | http://dossy.org/
Panoptic Computer Network   | http://panoptic.com/
  "He realized the fastest way to change is to laugh at your own
    folly -- then you can let go and quickly move on." (p. 70)


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
<[email protected]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to