minor parm updates
This commit is contained in:
2
Makefile
2
Makefile
@ -78,7 +78,7 @@ ifeq ("titan","$(HOST)")
|
||||
# the way it works is not even possible on newer kernels because they no longer
|
||||
# allow you to override the _errno_location() function. -- matt
|
||||
# -DMATTWELLS
|
||||
CPPFLAGS = -m32 -g -Wall -pipe -Wno-write-strings -Wstrict-aliasing=0 -Wno-uninitialized -static -DTITAN -DMATTWELLS
|
||||
CPPFLAGS = -m32 -g -Wall -pipe -Wno-write-strings -Wstrict-aliasing=0 -Wno-uninitialized -static -DTITAN
|
||||
LIBS = ./libz.a ./libssl.a ./libcrypto.a ./libiconv.a ./libm.a
|
||||
else
|
||||
# use -m32 to force 32-bit mode compilation.
|
||||
|
@ -753,6 +753,12 @@ skipReplaceHost:
|
||||
//"</font>"
|
||||
"</td></tr>"
|
||||
|
||||
"<tr class=poo>"
|
||||
"<td>host ip</td>"
|
||||
"<td>The primary IP address of the host."
|
||||
"</td>"
|
||||
"</tr>\n"
|
||||
|
||||
"<tr class=poo>"
|
||||
"<td>shard</td>"
|
||||
"<td>"
|
||||
@ -762,26 +768,20 @@ skipReplaceHost:
|
||||
"</tr>\n"
|
||||
|
||||
"<tr class=poo>"
|
||||
"<td>stripe</td>"
|
||||
"<td>mirror</td>"
|
||||
"<td>"
|
||||
"Hosts with the same stripe serve the same shard "
|
||||
"of data."
|
||||
"</td>"
|
||||
"</tr>\n"
|
||||
|
||||
"<tr class=poo>"
|
||||
"<td>ip1</td>"
|
||||
"<td>The primary IP address of the host."
|
||||
"A shard can be mirrored multiple times for "
|
||||
"data redundancy."
|
||||
"</td>"
|
||||
"</tr>\n"
|
||||
|
||||
/*
|
||||
"<tr class=poo>"
|
||||
"<td>ip2</td>"
|
||||
"<td>The secondary IP address of the host."
|
||||
"</td>"
|
||||
"</tr>\n"
|
||||
|
||||
/*
|
||||
"<tr class=poo>"
|
||||
"<td>udp port</td>"
|
||||
"<td>The UDP port the host uses to send and recieve "
|
||||
|
@ -1826,19 +1826,21 @@ bool Pages::printAdminLinks ( SafeBuf *sb,
|
||||
|
||||
// print "url download" before "inject url"
|
||||
// GET /mycollname_urls.csv
|
||||
/* nah, keep this in basic > status
|
||||
if ( i == PAGE_INJECT ) {
|
||||
sb->safePrintf (
|
||||
"<b>"
|
||||
"<a style=text-decoration:none; "
|
||||
"href=\"/download/%s_urls.txt\">"
|
||||
"<nobr>"
|
||||
"url download"
|
||||
"data downloads"
|
||||
"</nobr>"
|
||||
"</a>"
|
||||
"</b>"
|
||||
" \n",
|
||||
coll );
|
||||
}
|
||||
*/
|
||||
|
||||
if ( cr && ! cr->m_isCustomCrawl && i == PAGE_CRAWLBOT )
|
||||
continue;
|
||||
|
@ -7838,7 +7838,7 @@ void Parms::init ( ) {
|
||||
//
|
||||
///////////
|
||||
m->m_title = "urls to add";
|
||||
m->m_desc = "Submit requests for Gigablast to index certain urls. "
|
||||
m->m_desc = "Space separated list of urls to index. "
|
||||
"They must match the patterns you have specified in "
|
||||
"the <a href=/admin/sites>spider sites</a> list. "
|
||||
"You can override that behavior on the "
|
||||
@ -7988,7 +7988,7 @@ void Parms::init ( ) {
|
||||
m->m_page = PAGE_SITES;
|
||||
m->m_obj = OBJ_COLL;
|
||||
m->m_type = TYPE_SAFEBUF;
|
||||
m->m_def = "";
|
||||
m->m_def = "*";
|
||||
m->m_flags = PF_TEXTAREA ;
|
||||
m++;
|
||||
|
||||
@ -17280,6 +17280,9 @@ bool Parms::convertHttpRequestToParmList (HttpRequest *hr, SafeBuf *parmList,
|
||||
if ( ! m ) continue;
|
||||
if ( m->m_type == TYPE_CMD ) continue;
|
||||
|
||||
if ( m->m_obj == OBJ_NONE ) continue;
|
||||
if ( m->m_obj == OBJ_SI ) continue;
|
||||
|
||||
// add it to a list now
|
||||
if ( ! addNewParmToList2 ( parmList ,
|
||||
// HACK! operate on the to-be-added
|
||||
|
Reference in New Issue
Block a user