mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-07-14 02:36:06 -04:00
Remvoed Conf::m_diffbotMsg13Hack
This commit is contained in:
1
Conf.h
1
Conf.h
@ -558,7 +558,6 @@ class Conf {
|
||||
bool m_logDebugSummary ;
|
||||
bool m_logDebugSpider ;
|
||||
bool m_logDebugMsg13 ;
|
||||
bool m_diffbotMsg13Hack ;
|
||||
bool m_logDebugUrlAttempts ;
|
||||
bool m_logDebugTcp ;
|
||||
bool m_logDebugTcpBuf ;
|
||||
|
@ -269,11 +269,6 @@ bool Msg13::forwardRequest ( ) {
|
||||
hostId = hash32n ( r->ptr_url ) % nh;
|
||||
}
|
||||
|
||||
// avoid host #0 for diffbot hack which is dropping some requests
|
||||
// because of the streaming bug methinks
|
||||
if ( hostId == 0 && nh >= 2 && g_conf.m_diffbotMsg13Hack )
|
||||
hostId = 1;
|
||||
|
||||
// get host to send to from hostId
|
||||
Host *h = NULL;
|
||||
// . pick first alive host, starting with "hostId" as the hostId
|
||||
|
10
Parms.cpp
10
Parms.cpp
@ -12116,16 +12116,6 @@ void Parms::init ( ) {
|
||||
m->m_obj = OBJ_CONF;
|
||||
m++;
|
||||
|
||||
m->m_title = "disable host0 for msg13 reception hack";
|
||||
m->m_cgi = "dmth";
|
||||
m->m_off = (char *)&g_conf.m_diffbotMsg13Hack - g;
|
||||
m->m_type = TYPE_BOOL;
|
||||
m->m_def = "0";
|
||||
m->m_priv = 1;
|
||||
m->m_page = PAGE_LOG;
|
||||
m->m_obj = OBJ_CONF;
|
||||
m++;
|
||||
|
||||
m->m_title = "log debug spider proxies";
|
||||
m->m_cgi = "ldspr";
|
||||
m->m_off = (char *)&g_conf.m_logDebugProxies - g;
|
||||
|
Reference in New Issue
Block a user