You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. Encountered a strange issue with this library, when used on Safari with a Web Worker.
A streaming http request will only work in the first page load, and sometimes after restarting Safari.
When the request does not work in subsequent page loads, there is no error, and the network pane in dev tools looks like this:
Enabling the setting above in developer tools makes the request work on every page reload, suggesting it could be a cache related issue. However, disabling cache through Cache-Control header seemed to not help.
The scenario works in Chrome and Firefox. To be honest, it's starting to seem like a bug in Safari.
Here's a repo where you can easily reproduce the problem for yourself:
Hello. Encountered a strange issue with this library, when used on Safari with a Web Worker.
A streaming http request will only work in the first page load, and sometimes after restarting Safari.
When the request does not work in subsequent page loads, there is no error, and the network pane in dev tools looks like this:
Enabling the setting above in developer tools makes the request work on every page reload, suggesting it could be a cache related issue. However, disabling cache through
Cache-Control
header seemed to not help.The scenario works in Chrome and Firefox. To be honest, it's starting to seem like a bug in Safari.
Here's a repo where you can easily reproduce the problem for yourself:
https://github.com/raine/safari-stream-http-bug
The text was updated successfully, but these errors were encountered: