Skip to content

Instantly share code, notes, and snippets.

@tomsaffell
tomsaffell / safari_upload_workaround.md
Last active December 31, 2015 12:27
Safari has an upload problem, we found a work around

#Safari Upload Issue

tldr: Safari on OSX has an issue that causes uploads to silently fail. We implemented a workaround in EvaporateJS.

###The Issue At videopixie we use EvaporateJS to upload a lot large files (20GB+) directly to AWS S3, and we do lots of logging to make sure it's all running smooth.

We started to see an increase in failed uploads. The logs revealed a few interesting things:

  1. The failures were occurring when the progress of an XMLHttpRequest (xhr) was silently stalling.