182 Commits

Author SHA1 Message Date
79c8555cb3 Renamed UdpSlot::m_tmpBuf to m_shortSendBuffer 2017-05-26 12:25:07 +02:00
14cbb34ec0 #inclue cleanup (UdpServer was included for various headerfiles) 2017-05-16 12:20:06 +02:00
fa7d241d64 Remove import from titledb dat file (not working -> decode msg error + segfault after a few seconds) 2017-05-11 14:52:25 +02:00
7db9c4354e Removed non-renetrant version of iptoa()
Mass-change. Many places it could have been done in a better way (eg. calculate nice name for UdpSlot peer once and not for every log line).
2017-05-10 17:54:00 +02:00
8765e67de9 Made local functions static 2017-05-09 11:47:12 +02:00
45ad44939a Catch std::bad_alloc and not '...' 2017-05-07 20:51:33 +02:00
03153a501b Remove stats for PageInject (we already have statistics for spidering pages) 2017-03-24 15:56:38 +01:00
63392dd835 Add skiphash as parameter for injecting document so we can force a reindex even when content is the same 2017-02-17 13:18:50 +01:00
77f48c0bf0 Add langId as parameter for injecting document so we can override the document language 2017-02-16 17:44:03 +01:00
4ff266570c Code style changes 2017-02-16 14:39:26 +01:00
112ab83659 Renamed TYPE_LONG/LONG_LONG to something more sensible 2017-01-19 16:53:10 +01:00
2923a3e3cc Better encapsulation of Parms 2017-01-19 14:36:25 +01:00
6dd26a3606 Better encapsulation of Collectiondb 2017-01-12 16:49:21 +01:00
277718331a Use StackBuf<> 2016-12-20 11:33:52 +01:00
f77c24db91 #include clean up HashTableT.h 2016-12-08 17:04:38 +01:00
6502541baf Make local functions static 2016-11-19 15:20:00 +01:00
99ad00d7f8 Removed default values on parameters to Multicast:.send()
Removed parameter 'extraInfo' (wasn't used)
2016-11-18 16:14:53 +01:00
5af39f1358 Moved MAX_COLL_LEN and MAX_URL_LEN to separate header files
So not most files have to include Collectiondb.h and Url.h
2016-11-12 20:44:42 +01:00
aba937780d Stop #including Conf.h from header files 2016-11-12 20:24:20 +01:00
d52dabc828 #include cleanup of Url.h 2016-11-12 20:01:44 +01:00
8a41de798f #include cleanup og MsgC.h 2016-11-12 19:43:59 +01:00
bacc239572 #include cleanup of BigFile.h 2016-10-27 13:47:49 +02:00
1dbf717e37 safer string handling in PageInject 2016-10-22 20:08:30 +02:00
cc7cb3fcd4 Removed Dir:.getDir() 2016-10-21 14:24:45 +02:00
6d441ba5dd Changed Rdbbase::m_dir (dir) to m_collectionDirName (plain char array)
m_dir was kept around solely for the getDir() method, so a plain char aay woudl fit better.
2016-10-21 13:40:34 +02:00
a3ba0a03e6 removed duplicate function getBuf in SafeBuf.cpp 2016-10-18 21:22:29 +02:00
54349265d4 Moved SafeBuf::cdataEncode() to a standalone function 2016-10-07 14:30:52 +02:00
85d2d489c0 don't try to use mem in ImportState::importLoop (PageInject.cpp) if it cannot be reserved 2016-10-01 23:12:37 +02:00
0e6d5d387e Remove unused m_importState 2016-09-30 16:07:42 +02:00
66e6fa5687 Remove some commented out code 2016-09-30 16:07:42 +02:00
59f4571357 check cr for null before use in ImportState::getAvailMulticast 2016-09-30 16:07:11 +02:00
a41708113c init class members in ImportState (PageInject) 2016-09-26 20:00:23 +02:00
38f23d1da6 init class members in Msg7 (PageInject) 2016-09-26 19:58:54 +02:00
e5c2837ec5 Use Titledb:: instead of g_titledb for calling static functions. Minor consolidation of Titledb functions 2016-09-13 11:06:46 +02:00
a040a78c99 Use key96_t instead of key_t and redefining std lib key_t (which breaks std lib functionality that uses key_t) 2016-09-02 14:49:06 +02:00
e2897bc267 Cleanup headers for Dir.h. Remove duplicated function to return dir filename 2016-08-31 11:13:31 +02:00
c2a7663763 Removed some asses from UdpServer 2016-08-11 17:22:06 +02:00
0ac52d0cb9 Code style changes 2016-08-11 12:58:51 +02:00
d51a9e0b20 Move args for UdpServer::sendRequest 2016-08-10 22:51:01 +02:00
2f4dc9c5f0 Add todo comment on getHostToHandleInjection logic 2016-08-05 14:56:11 +02:00
63153c05a5 Decouple PageInject from UdpServer active slots by changing logic to pick which host to send injection to 2016-08-05 14:56:11 +02:00
65b9b02fba Replace use of g_hostdb.m_numHosts with g_hostdb.getNumHosts() 2016-08-05 14:56:11 +02:00
7a11468827 Code style changes 2016-08-05 13:53:55 +02:00
0d46593f0c Remove commented out code, unused functions 2016-08-05 13:53:55 +02:00
6feb12dd04 Add log level to log calls 2016-08-05 13:53:55 +02:00
bcfc8788d0 Remove commented out code. Simplify code 2016-08-05 13:53:55 +02:00
962f250cae More UdpSlot encapsulation 2016-08-05 10:24:35 +02:00
d1463948f7 Revert "More UdpSlot encapsulation"
This reverts commit 219faa5835.

This broke the build somehow. Revert until debugged and fixed.
2016-08-05 10:23:25 +02:00
9978a58eb6 Some log changes to pass in specific log levels 2016-08-05 10:05:56 +02:00
219faa5835 More UdpSlot encapsulation 2016-08-05 10:05:56 +02:00