version 1.151, 1998/10/08 17:48:50
|
version 1.152, 1998/10/08 22:46:29
|
Line 1259 static void AHTProtocolInit (voi
|
Line 1259 static void AHTProtocolInit (voi
|
#endif |
#endif |
|
|
/* initialize pipelining */ |
/* initialize pipelining */ |
strptr = (char *) TtaGetEnvString ("ENABLE_PIPELINING"); |
strptr = (char *) TtaGetEnvString ("USE_PIPELINING"); |
if (strptr && *strptr && strcasecmp (strptr,"yes" )) |
if (strptr && *strptr && strcasecmp (strptr,"yes" )) |
HTTP_setConnectionMode (HTTP_11_NO_PIPELINING); |
HTTP_setConnectionMode (HTTP_11_NO_PIPELINING); |
} |
} |
Line 1549 static void Cacheinit ()
|
Line 1549 static void Cacheinit ()
|
boolean cache_locked; |
boolean cache_locked; |
|
|
/* activate cache? */ |
/* activate cache? */ |
strptr = (char *) TtaGetEnvString ("ENABLE_CACHE"); |
strptr = (char *) TtaGetEnvString ("USE_CACHE"); |
if (strptr && *strptr && strcasecmp (strptr,"yes" )) |
if (strptr && *strptr && strcasecmp (strptr, "yes" )) |
cache_enabled = NO; |
cache_enabled = NO; |
else |
else |
cache_enabled = YES; |
cache_enabled = YES; |
|
|
/* cache protected documents? */ |
/* cache protected documents? */ |
strptr = (char *) TtaGetEnvString ("CACHE_PROTECTED"); |
strptr = (char *) TtaGetEnvString ("CACHE_PROTECTED_DOCS"); |
if (strptr && *strptr && !strcasecmp (strptr,"yes" )) |
if (strptr && *strptr && !strcasecmp (strptr, "yes" )) |
HTCacheMode_setProtected (YES); |
HTCacheMode_setProtected (YES); |
else |
else |
HTCacheMode_setProtected (NO); |
HTCacheMode_setProtected (NO); |
Line 1840 void QueryInit ()
|
Line 1840 void QueryInit ()
|
CanDoStop_set (TRUE); |
CanDoStop_set (TRUE); |
|
|
#ifdef _WINDOWS |
#ifdef _WINDOWS |
/*** AHTEventInit (); this was the call to my AHTEvent module HTEvtLst today***/ |
|
HTEventInit (); |
HTEventInit (); |
#endif /* _WINDOWS */ |
#endif /* _WINDOWS */ |
|
|
Line 1851 void QueryInit ()
|
Line 1850 void QueryInit ()
|
HTTimer_registerDeleteTimerCallback ((void *) AMAYA_DeleteTimer); |
HTTimer_registerDeleteTimerCallback ((void *) AMAYA_DeleteTimer); |
#endif /* !_WINDOWS */ |
#endif /* !_WINDOWS */ |
|
|
|
WWW_TraceFlag = CACHE_TRACE; |
#ifdef DEBUG_LIBWWW |
#ifdef DEBUG_LIBWWW |
/* forwards error messages to our own function */ |
/* forwards error messages to our own function */ |
WWW_TraceFlag = THD_TRACE; |
WWW_TraceFlag = THD_TRACE; |
HTTrace_setCallback(LineTrace); |
HTTrace_setCallback(LineTrace); |
#endif |
|
|
|
/* Trace activation (for debugging) */ |
/* Trace activation (for debugging) */ |
/*** |
/*** |
WWW_TraceFlag = SHOW_CORE_TRACE | SHOW_THREAD_TRACE | SHOW_PROTOCOL_TRACE; |
WWW_TraceFlag = SHOW_CORE_TRACE | SHOW_THREAD_TRACE | SHOW_PROTOCOL_TRACE; |
WWW_TraceFlag |= 0xFFFFFFFFl; |
WWW_TraceFlag |= 0xFFFFFFFFl; |
***/ |
***/ |
|
#endif |
|
|
/* Setting up different network parameters */ |
/* Setting up different network parameters */ |
|
|
/* Maximum number of simultaneous open sockets */ |
/* Maximum number of simultaneous open sockets */ |
Line 1883 void QueryInit ()
|
Line 1882 void QueryInit ()
|
HTDNS_setTimeout (tmp_i); |
HTDNS_setTimeout (tmp_i); |
|
|
/* persistent connections timeout */ |
/* persistent connections timeout */ |
strptr = (char *) TtaGetEnvString ("PERSISTCX_TIMEOUT"); |
strptr = (char *) TtaGetEnvString ("PERSIST_CX_TIMEOUT"); |
if (strptr && *strptr) |
if (strptr && *strptr) |
tmp_l = atol (strptr); |
tmp_l = atol (strptr); |
else |
else |