Menu

#24 Need an external TimeOut setting

open
nobody
boa (32)
5
2004-05-10
2004-05-10
No

If the server is running on an embedded processor on a
slower box (Pentium, 300Mhz compatible) a large PERL
script could timeout before returning to the web
server. Need to support an optional timeout setting in
the boa.conf file to allow the timeout to be altered
from the hard set values in the program.

Discussion

  • Steven Scott

    Steven Scott - 2004-05-10

    conf_timeout support added to load Timeout from boa.conf and use it if available.

     
  • onong

    onong - 2007-05-29

    Logged In: YES
    user_id=1803847
    Originator: NO

    Hi, I am faced with the same problem. Tried the patch but it does not work for me. Reason is the code in select.c which still uses REQUEST_TIMEOUT instead of default_timeout.

    } else if (time_since > REQUEST_TIMEOUT) {

    Changing the above to

    } else if (time_since > default_timeout) {

    works.

     

Log in to post a comment.