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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > [solved] Retry with new instance.

Reply
 
Thread Tools Display Modes
  #31  
Old 02-22-2011, 07:21 PM
IanD IanD is offline
Member
 
Join Date: Sep 2010
Posts: 41
No, that's just to do with retrying automatic proxy configuration.

Is 408 the most appropriate status to be sent here?

Quote:
408 Request Timeout
The server timed out waiting for the request.[2] According to W3 HTTP specifications: "The client did not produce a request within the time that the server was prepared to wait. The client MAY repeat the request without modifications at any later time."
That isn't strictly true (in my circumstances anyway), the client DID produce a valid request but the server was just too busy to respond in the required time.

I would have thought this should be a 503 - to which I would presume Firefox wouldn't automatically refresh the URL.
Reply With Quote
  #32  
Old 02-22-2011, 10:39 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Please download 4.0.20 again, changed the code to 500.
Reply With Quote
  #33  
Old 02-23-2011, 09:46 AM
IanD IanD is offline
Member
 
Join Date: Sep 2010
Posts: 41
It works!

Firefox displays the 500 Request Timeout page and doesn't try to refresh it.

Thanks guys - you do an awesome job here. Really listening to your customers, it's great.
Reply With Quote
  #34  
Old 05-29-2012, 01:40 PM
adnet adnet is offline
Member
 
Join Date: Aug 2010
Posts: 20
Quote:
Originally Posted by NiteWave View Post
we just added new feature on 4.0.19 to address this timeout issue:
"added another special rewrite environment variable "noconntimeout", this will disable connection timeout, it will keep the connection open forever till the request complete."

for example:

RewriteRule abc.php - [E=noconntimeout:1]

please test at your end, see if it 100% resolves your issue.
Is it in the admin ?
Reply With Quote
  #35  
Old 05-29-2012, 04:17 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
It is environment variable in rewrite rule.

you can add that rule 'RewriteRule ... [E=noconntimeout:1]' in .htaccess or in Rewrite box for LSWS native vhost.
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 10:57 PM.



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