liveservices / LiveSDK-for-iOS

LiveSDK library for integrating with Live Connect
MIT License
138 stars 84 forks source link

Upload fails with timeout after 120 seconds #52

Open sylverb opened 9 years ago

sylverb commented 9 years ago

Hello, When I'm uploading a big file using

    self.uploadOperation = [self.liveClient uploadToPath:path
                                           fileName:file.name
                                        inputStream:fileStream
                                          overwrite:liveOverwrite
                                           delegate:self
                                          userState:@"uploadFile"];

It starts uploading the file as expected (the progress delegate is correctly called), but after 120 seconds it stop uploading and is returning a timeout error ...

sylverb commented 9 years ago

I've read some interesting things regarding a 100MB limit and the fact that, to upload larger files, using BITS protocol is mandatory : https://gist.github.com/rgregg/37ba8929768a62131e85 I'm not sure if my issue is related to this limit (I think that it crash at around 60-70MB uploaded and my 2 tests gave me a timeout error after 120s so I supposed that the issue was because of the 120 seconds). Anyway the BITS protocol doesn't seem to be supported by this SDK !