mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
172 lines
5.1 KiB
172 lines
5.1 KiB
/*++
|
|
|
|
Copyright (c) 1995 Microsoft Corporation
|
|
|
|
Module Name :
|
|
|
|
inetreg.h
|
|
|
|
Abstract:
|
|
|
|
This file consists of the registry entries used by Internet Services
|
|
common dll.
|
|
|
|
Author:
|
|
|
|
Murali R. Krishnan ( MuraliK ) 31-July-1995
|
|
|
|
Environment:
|
|
|
|
Win32 - User Mode
|
|
|
|
Project:
|
|
|
|
Internet Services Common DLL
|
|
|
|
Revision History:
|
|
|
|
--*/
|
|
|
|
# ifndef _INETREG_H_
|
|
# define _INETREG_H_
|
|
|
|
|
|
/************************************************************
|
|
* Symbolic Constants
|
|
************************************************************/
|
|
|
|
|
|
//
|
|
// Common service configuration value names.
|
|
//
|
|
|
|
// common for all objects
|
|
|
|
#define INETA_BANDWIDTH_LEVEL TEXT("BandwidthLevel")
|
|
#define INETA_OBJECT_CACHE_TTL TEXT("ObjectCacheTTL")
|
|
#define INETA_MIN_KB_SEC TEXT("MinFileKbSec")
|
|
|
|
//
|
|
// We may not want the setup to put values for the following three
|
|
// parameters. This is for INTERNAL DEVELOPMENT & ANALYSIS
|
|
//
|
|
|
|
#define INETA_PER_PROCESSOR_ATQ_THREADS TEXT("MaxPoolThreads")
|
|
#define INETA_ATQ_THREAD_LIMIT TEXT("PoolThreadLimit")
|
|
#define INETA_PER_PROCESSOR_CONCURRENCY TEXT("MaxConcurrency")
|
|
#define INETA_THREAD_TIMEOUT TEXT("ThreadTimeout")
|
|
#define INETA_USE_ACCEPTEX TEXT("UseAcceptEx")
|
|
#define INETA_USE_XMITFILE TEXT("UseTransmitFile")
|
|
#define INETA_NONTF_BUFFER_SIZE TEXT("NonTFBufferSize")
|
|
|
|
|
|
// Used by ISVC_INFO object
|
|
#define INETA_ADMIN_NAME TEXT("AdminName")
|
|
#define INETA_ADMIN_NAME_W L"AdminName"
|
|
#define INETA_ADMIN_EMAIL TEXT("AdminEmail")
|
|
#define INETA_ADMIN_EMAIL_W L"AdminEmail"
|
|
#define INETA_SERVER_COMMENT TEXT("ServerComment")
|
|
#define INETA_SERVER_COMMENT_W L"ServerComment"
|
|
#define INETA_ENABLE_SVC_LOCATION TEXT("EnableSvcLoc")
|
|
|
|
|
|
|
|
|
|
// used by TSVC_INFO object
|
|
#define INETA_AUTHENTICATION TEXT("Authorization")
|
|
#define INETA_LOG_ANONYMOUS TEXT("LogAnonymous")
|
|
#define INETA_LOG_NONANONYMOUS TEXT("LogNonAnonymous")
|
|
#define INETA_ANON_USER_NAME TEXT("AnonymousUserName")
|
|
#define INETA_ANON_USER_NAME_W L"AnonymousUserName"
|
|
#define INETA_MAX_CONNECTIONS TEXT("MaxConnections")
|
|
#define INETA_CONNECTION_TIMEOUT TEXT("ConnectionTimeout")
|
|
#define INETA_DEBUG_FLAGS TEXT("DebugFlags")
|
|
#define INETA_PORT TEXT("Port")
|
|
#define INETA_DEFAULT_LOGON_DOMAIN TEXT("DefaultLogonDomain")
|
|
#define INETA_LOGON_METHOD TEXT("LogonMethod")
|
|
|
|
//
|
|
// Determines the number of outstanding AcceptEx sockets that should always
|
|
// be available
|
|
//
|
|
|
|
#define INETA_ACCEPTEX_OUTSTANDING TEXT("AcceptExOutstanding")
|
|
|
|
//
|
|
// Determines the time (in seconds) we'll allow an AcceptEx socket to be
|
|
// in the initial "Receive" state before timing it out
|
|
//
|
|
|
|
#define INETA_ACCEPTEX_TIMEOUT TEXT("AcceptExTimeout")
|
|
|
|
|
|
|
|
//
|
|
// Default values for the above parameters
|
|
//
|
|
#define INETA_DEF_BANDWIDTH_LEVEL (INFINITE)
|
|
#define INETA_DEF_OBJECT_CACHE_TTL (30) // 30 seconds
|
|
|
|
#define INETA_DEF_PER_PROCESSOR_ATQ_THREADS (10)
|
|
#define INETA_DEF_PER_PROCESSOR_ATQ_THREADS_PWS (4)
|
|
#define INETA_DEF_PER_PROCESSOR_CONCURRENCY (0) // system will decide if 0
|
|
|
|
//
|
|
// thread limit settings
|
|
//
|
|
|
|
#define INETA_MIN_ATQ_THREAD_LIMIT (64)
|
|
#define INETA_DEF_ATQ_THREAD_LIMIT (128)
|
|
#define INETA_MAX_ATQ_THREAD_LIMIT (256)
|
|
|
|
//
|
|
// Timeouts are high to prevent async ios from being cancelled if a thread
|
|
// goes away.
|
|
//
|
|
|
|
#define INETA_DEF_THREAD_TIMEOUT (24*60*60) // 24 hours
|
|
#define INETA_DEF_THREAD_TIMEOUT_PWS (30*60) // 30 mins
|
|
#define INETA_DEF_USE_ACCEPTEX (TRUE)
|
|
#define INETA_DEF_USE_XMITFILE (TRUE)
|
|
#define INETA_DEF_ENABLE_SVC_LOCATION (TRUE)
|
|
|
|
//
|
|
// fake xmit file buffer size
|
|
//
|
|
|
|
#define INETA_DEF_NONTF_BUFFER_SIZE (4096)
|
|
#define INETA_MIN_NONTF_BUFFER_SIZE (512)
|
|
#define INETA_MAX_NONTF_BUFFER_SIZE (64 * 1024)
|
|
|
|
|
|
#define INETA_DEF_ADMIN_NAME ""
|
|
#define INETA_DEF_ADMIN_EMAIL ""
|
|
#define INETA_DEF_SERVER_COMMENT ""
|
|
|
|
#define INETA_LOGM_INTERACTIVE 0
|
|
#define INETA_LOGM_BATCH 1
|
|
#define INETA_LOGM_NETWORK 2
|
|
|
|
#define INETA_DEF_AUTHENTICATION INET_INFO_AUTH_ANONYMOUS
|
|
#define INETA_DEF_LOG_ANONYMOUS FALSE
|
|
#define INETA_DEF_LOG_NONANONYMOUS FALSE
|
|
#define INETA_DEF_ANON_USER_NAME "Guest"
|
|
#define INETA_DEF_MAX_CONNECTIONS (DWORD)(0x77359400)
|
|
#define INETA_DEF_CONNECTION_TIMEOUT 600
|
|
#define INETA_DEF_DEBUG_FLAGS 0
|
|
#define INETA_DEF_PORT 0
|
|
#define INETA_DEF_ACCEPTEX_OUTSTANDING 40
|
|
#define INETA_DEF_ACCEPTEX_TIMEOUT 120
|
|
#define INETA_DEF_MIN_KB_SEC 1000
|
|
#define INETA_DEF_DEFAULT_LOGON_DOMAIN ""
|
|
#define INETA_DEF_LOGON_METHOD INETA_LOGM_INTERACTIVE
|
|
|
|
//
|
|
// PWS connection limit
|
|
//
|
|
|
|
#define INETA_DEF_MAX_CONNECTIONS_PWS 10
|
|
#define INETA_MAX_MAX_CONNECTIONS_PWS 40
|
|
|
|
#endif // _INETREG_H_
|
|
|