Skip to main content
Home Forums General Silverlight Hosting and Streaming WebDav Upload Request Timer limit of 5 mins back in?
8 replies. Latest Post by MarauderzMY on July 13, 2008.
(0)
MarauderzMY
Member
607 points
265 Posts
06-28-2008 3:18 PM |
Hey Frog69, did you guys reinstate back the 5 minute request timeout on the WebDav again? previously I was able to upload large 20MB videos, now my PUTs are timeing out around 4.7 minutes... it has happen a few times already and always at 4.7 minutes.. so that's just weird...
07-06-2008 11:43 AM |
I've just finished uploading a 25MB file in 80 minutes... :( so I guess I managed to figured out what was stopping me from uploading large files.
It would seems like the missing link was that I need to set SendChunked of my httpwebrequest to true. And now I'm able to upload large files.
Bill Reiss
Contributor
4840 points
919 Posts
07-11-2008 9:22 AM |
SendChunked seems to really slow down the process, you may want to try setting the request's ReadWriteTimeout instead and see if that helps. It defaults to 5 minutes so that seems a bit suspicious.
07-13-2008 10:09 AM |
Bill my readwritetimeout is already at Integer.Maxvalue... so..any other ideas? ;)
07-13-2008 11:21 AM |
Can you try the sample I posted here:
http://www.bluerosegames.com/slsexplorer.zip
and see if it will allow you to do any files that take longer? If not, I'm out of ideas, maybe it is a server issue.
07-13-2008 12:08 PM |
The main difference between your upload code and mine is that you've set allowwritestreambuffer to true. I think that's more of a client side setting, and it doesn't affect the server side. But let me just check it and see.
07-13-2008 12:32 PM |
ok, so I've set allowwritestreambuffering to false and preauthenticate to true on my code as well...
Seems to be working. 5 mins already has passed with no break. And it's faster. That's great, thanks for the heads up Bill.
Now to try it on normal mode and see if Frog and team did any tweaking without telling us ;)
07-13-2008 12:42 PM |
Ok great, hope it works for you. Did you turn off chunking too?
07-13-2008 12:47 PM |
Yeahm sendchunked was at it's default value, which is false according to the docs.
Anyway retried upload just now with allowwritestreambuffering to true and preauthenticate to false. Fails at 5 mins... so I guess it is necessary to set those 2 flags if uploading takes a while.
thanks for the help again.