mirror of
https://github.com/gigablast/open-source-search-engine.git
synced 2024-10-04 20:27:43 +03:00
remove entry from linetable for linkinfo lookup
This commit is contained in:
parent
8bb5d106db
commit
6716d8f21b
@ -617,6 +617,8 @@ bool getLinkInfo ( SafeBuf *reqBuf ,
|
||||
return false;
|
||||
}
|
||||
|
||||
HashTableX g_lineTable;
|
||||
|
||||
static void sendReplyWrapper ( void *state ) {
|
||||
|
||||
long saved = g_errno;
|
||||
@ -637,6 +639,8 @@ static void sendReplyWrapper ( void *state ) {
|
||||
Msg25Request *req = (Msg25Request *)slot2->m_readBuf;
|
||||
// sanity
|
||||
if ( req->m_udpSlot != slot2 ) { char *xx=NULL;*xx=0;}
|
||||
// if in table, nuke it
|
||||
g_lineTable.removeKey ( &req->m_siteHash64 );
|
||||
|
||||
nextLink:
|
||||
|
||||
@ -671,8 +675,6 @@ static void sendReplyWrapper ( void *state ) {
|
||||
}
|
||||
|
||||
|
||||
HashTableX g_lineTable;
|
||||
|
||||
void handleRequest25 ( UdpSlot *slot , long netnice ) {
|
||||
|
||||
Msg25Request *req = (Msg25Request *)slot->m_readBuf;
|
||||
|
Loading…
Reference in New Issue
Block a user