Your guess would be right :) I was meaning to report back, just in case
someone else stumbles upon this. It was indeed the problem with such
restrictions. The thing is, I was aware of those restrictions and I did
some "testing", somehow figured out that wasn't the problem, and proceeded
to look for bugs in all the wrong places. I moved to async methods anyways
and when I finally came back around to this and figured out it was probably
domain and access control issue all along, I slapped myself on the forehead
really hard. It all works as advertised now, it was just me completely
missing the obvious.

On Wed, Jan 14, 2015 at 3:37 PM, asnapper <[email protected]>
wrote:

> Just a wild guess, but did you consider CORS restrictions?
>
> https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS
>
>
> On Friday, November 14, 2014 at 10:03:31 PM UTC+1, Aleksandar Stančić
> wrote:
>>
>> The thing is, even when I comment out my "sync" code that makes the game
>> wait, it still doesn't work. Without pausing the main loop and without
>> sleep calls, my net_httpGet function returns false immediately, but the
>> game still runs, and callback happens a bit later, but it's always status 0
>> and message is NULL, so I don't know what's wrong. Under what conditions
>> does this happen?
>>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "emscripten-discuss" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/emscripten-discuss/x1k3yNOBjco/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to