Remvoed Conf::m_diffbotMsg13Hack

This commit is contained in:
Ivan Skytte Jørgensen
2016-01-28 13:45:15 +01:00
parent e6b4cbd141
commit af890aada6
3 changed files with 0 additions and 16 deletions

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

@ -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;