Making "read from file" less blocky.

Alex Tweedly alex at tweedly.net
Sun Aug 4 20:21:15 EDT 2019


On 04/08/2019 19:07, Tom Glod via use-livecode wrote:
> Hmmm.... interesting.
>
> I was sending binary variables to it, and the headers came through ok, but
> the binary data didn't when it was over a certain size.
>
> What sort of data sizes have you been been sending to your httpd standalone?

Currently I am reading multi-Mbytes *from* the httpd server, and it all 
seems OK, though I haven't paid that much attention to how large the 
transfers were.

Currently I am only sending small datasets *to* the server, haven't tied 
anything large. And, in fact, I never will !!  What I am writing must 
run in the community version, and must be completely non-blocking; 
therefore, *everything* is done with "load URL ...", i.e. the data is 
being sent as a (rather long) parameter to the HTTP/GET. (because 
without tsNet there is no non-blocking POST).

So in the future when I need to send larger datasets, I will need to 
stitch the data back together in my server code, and use many "load url 
..." calls to do the transfer.

Alex.



More information about the Use-livecode mailing list