NicoM1/slickrock.space

HTTP errors not behaving on IOS

Opened this issue · 1 comments

ok, so I finally think I got an idea why ios (and android was doing this but I can't reproduce) sometimes stops updating the chat, currently, the chat will only make one request at a time, and block future requests untill it recieves a response or an error, but for whatever reason, on ios (at least in the sim running on my virtual mac) when it loses connection, the error doesn't fire untill you refresh the page, so it never knows if the request went through. this explains why if you send messages you will see them when you refresh, as the sent messages go through a different pipeline. I'm attempting to get in contact with haxe devs to get help with this, but at least theres something to go on now.

ok I'm using a manual timeout to offset this, it should work but its not ideal