HTTPD Server Post Requests work ........about half the time

Andre Garzia andre at andregarzia.com
Mon May 7 21:28:56 EDT 2018


Remember that LC is using a single thread and that script execution is
blocking, so, if your server is busy doing work to respond to a request,
then it will probably not acknowledge an incoming request at the same time.
Or at least that was true for my RevHTTPd version...

On Mon, May 7, 2018 at 12:13 PM, Tom Glod via use-livecode <
use-livecode at lists.runrev.com> wrote:

> Hi folks, so spent the last 2 days working on getting my client to talk to
> a simple service I created taking advantage of the httpd library in v9.
>
> Everything works fine..... half the time. ....literally the request is
> identical each time but the result differs.
>
> the content type is set to text/plain..... so the (base64 encoded) content
> is in the "content" variable.
>
> but thats only true half the time.... the other time it comes in empty.
>
> I also checked my post request with an online "post request"
> mechanism...and 100 % of the requests come in correctly. so the problem
> must be on my httpd service end.
>
> Anyone have any clue what could be creating this inconsistency?
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.



More information about the use-livecode mailing list