LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Restrictions on uploading files via POST in LS

Reply
 
Thread Tools Display Modes
  #1  
Old 01-19-2007, 04:20 AM
subBlue subBlue is offline
Member
 
Join Date: Oct 2006
Posts: 42
Default Restrictions on uploading files via POST in LS

We have a client who is trying to upload a large file through our Rails CMS and they are finding the connection is lost before the upload has completed. I'm wondering what happens when an upload takes longer than the connection timeout setting on the server (currently set at 300 secs). Will it kill the connection, or does it know there is an upload in progress and will keep it open until the POST has finished?
Reply With Quote
  #2  
Old 01-19-2007, 08:20 AM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
Yes, litespeed will kill the connection. The timeout value applies to all connections. The reason is that if litespeed ignores the timeout value for uploads, treats it as special, then anyone can exploit this feature and create 10000 upload http connections and starve the server creating a DoS effect.

You would need to make sure the timeout values is long enough for the uploads to complete.
Reply With Quote
  #3  
Old 01-19-2007, 09:40 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
It probably is because the "max request body size" has been reached, you may need to increase it under "server"->"Tuning" tab.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:29 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.