> From: Chris Little <cslittle at mac dot com>
> on 12/30/07 12:32 PM, Christopher Jett at lists at jettfuel dot net wrote:
>> The socket is a subclassed TCPSocket that is handling incoming
>> requests from a browser. It is during a large incoming request (i.e.
>> a large file upload from an HTML form) that the app becomes
>> unresponsive while the socket is receiving the large amount of data.
>> I don't see any .Yields anything for a TCPSocket.
>
> It's on HttpSocket so it's not going to help you. I wonder if
> writing the
> file to disk as you receive it is better than trying to cache it in
> memory.
> Receiving a large file is bound to cause some memory swapping if it
> happens
> frequently.
I see, sorry about that. Yes the exact name is "Yield", and it's on
HTTPSocket.
I suppose the other solution is to switch to HTTPSocket.. but it
probably will be harder to do that than use the other solutions that
other people are suggesting.
Sorry about that! I'm sure some other people here have better answers
on this one :)
--
http://elfdata.com/plugin/
"String processing, done right"
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|