changed: when a client doesn't send a session cookie we can instead of ban just use a temporary session
added: config option: // the way we behave when no_session_cookie_treshold limit is exceeded // 0 - if a client doesn't send a session cookie again then use a temporary session // (other sessions from this IP address are not affected) // 1 - add this IP address to ban list and create a temporary session // (this will block other sessions from this IP address too) // default: 0 int no_session_cookie_ban_mode; git-svn-id: svn://ttmath.org/publicrep/winix/trunk@996 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -562,7 +562,7 @@ void App::CreateJSONAnswer()
|
||||
}
|
||||
|
||||
|
||||
// !! zmienic na lepsza nazwe
|
||||
// !! IMPROVE ME change to a better name
|
||||
void App::MakePage()
|
||||
{
|
||||
bool sent = false;
|
||||
@@ -617,9 +617,9 @@ void App::CheckPostRedirect()
|
||||
}
|
||||
|
||||
|
||||
// zmienic nazwe np na ProcessRequest
|
||||
// !! ta nazwa chyba juz zajeta...
|
||||
// !! IMPROVE ME need some refactoring
|
||||
// !! IMPROVE ME change to a better name
|
||||
// may ProcessRequest()? but probably it is already defined...
|
||||
// this method needs some refactoring
|
||||
void App::Make()
|
||||
{
|
||||
if( cur.request->dir_tab.empty() )
|
||||
|
Reference in New Issue
Block a user