On Sat, Jun 18, 2005 at 11:28:03PM -0400, Brian Chrisman wrote:
> Sorry for double responding... but it's even better than I was thinking, 
> because the browser upload grabs a file, reads its contents, and 
> disconnects.  That'll send a SIGPIPE to the proc pulling the image into 
> the pipe.

the program will only get a sigpipe if the browser closes its end of the
pipe before it's finished writing, so a sigpipe would most likely be
bad.

> Now my only issue would be the browser getting smart and looking at the 
> file size in order to determine how much file its going to read... if 
> it's an issue at all.

I think transfers like this are usually done with chunked encoding
these days, but who knows.  that would be a drag if it insisted on
knowing a size, eh?  I'm tempted to try this myself out of curiosity.

- Ben

_______________________________________________
RLUG mailing list
[email protected]
http://lists.rlug.org/mailman/listinfo/rlug

Reply via email to