Remove commented out codes

This commit is contained in:
Ai Lin Chia
2016-01-26 22:28:38 +01:00
parent f63c2dbfc6
commit 5fdccb4412
3 changed files with 0 additions and 6283 deletions

@ -514,7 +514,6 @@ class CollectionRec {
char m_automaticallyUseProxies ;
char m_automaticallyBackOff ;
//char m_restrictDomain ; // say on same domain as seeds?
char m_doTuringTest ; // for addurl
char m_applyFilterToText ; // speeds us up
char m_allowHttps ; // read HTTPS using SSL
char m_recycleContent ;
@ -1260,9 +1259,6 @@ class CollectionRec {
float m_pqr_demFactXml; // demotion factor for xml content type
float m_pqr_demFactOthFromHost; // demotion factor for no other pages from same host
int32_t m_pqr_maxValOthFromHost; // max value for no other pages from same host
float m_pqr_demFactComTopicInDmoz; // demotion factor for fewer common topics in dmoz
float m_pqr_decFactComTopicInDmoz; // decay factor for fewer common topics in dmoz
int32_t m_pqr_maxValComTopicInDmoz; // max value for fewer common topics in dmoz
float m_pqr_demFactDmozCatNmNoQT; // demotion factor for dmoz category names that don't contain a query term
int32_t m_pqr_maxValDmozCatNmNoQT; // max value for dmoz category names that don't contain a query term
float m_pqr_demFactDmozCatNmNoGigabits; // demotion factor for dmoz category names that don't contain a gigabit

@ -1138,13 +1138,11 @@ void resetPageAddUrl ( ) ;
class State1i {
public:
//Msg4 m_msg4;
Msg7 m_msg7;
TcpSocket *m_socket;
bool m_isMasterAdmin;
char m_coll[MAX_COLL_LEN+1];
bool m_goodAnswer;
bool m_doTuringTest;
int32_t m_ufuLen;
char m_ufu[MAX_URL_LEN];
@ -1334,7 +1332,6 @@ bool sendPageAddUrl ( TcpSocket *sock , HttpRequest *hr ) {
gbmemcpy ( st1->m_ufu , ufu , ufuLen );
st1->m_ufu[ufuLen] = '\0';
st1->m_doTuringTest = cr->m_doTuringTest;
st1->m_spiderLinks = true;
st1->m_strip = true;
@ -1388,21 +1385,6 @@ bool sendPageAddUrl ( TcpSocket *sock , HttpRequest *hr ) {
return true;
}
//st1->m_query = r->getString( "qts", &st1->m_queryLen );
// check it, if turing test is enabled for this collection
/*
if ( ! st1->m_isMasterAdmin && cr->m_doTuringTest &&
! g_turingTest.isHuman(r) ) {
// log note so we know it didn't make it
g_msg = " (error: bad answer)";
//log("PageAddUrl:: addurl failed for %s : bad answer",
// iptoa(sock->m_ip));
st1->m_goodAnswer = false;
return sendReply ( st1 , true ); // addUrl enabled?
}
*/
Msg7 *msg7 = &st1->m_msg7;
// set this.
InjectionRequest *ir = &msg7->m_injectionRequest;

6261
Parms.cpp

File diff suppressed because it is too large Load Diff