52 Commits

Author SHA1 Message Date
79c8555cb3 Renamed UdpSlot::m_tmpBuf to m_shortSendBuffer 2017-05-26 12:25:07 +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
a9e5d9c02f Changed runtime check on TMPBUFSIZE to a compile-time check 2017-05-08 22:10:35 +02:00
d4511f2edf Use :: for static method calls 2017-01-22 22:32:32 +01:00
a94c901209 Removed unused niceness parameters to (most) functions 2017-01-17 14:10:40 +01:00
f13f5d687d Renamed Dns::getResponsibleHost() to getIPLookupHost() 2016-11-24 16:31:08 +01:00
ccd211261b Make MsgC/Msge1 coorperation more clear 2016-11-24 15:33:16 +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
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
23a9552d67 #include cleanup of Dns.* 2016-11-12 19:37:58 +01:00
6d8d1a1eb2 member init in MsgC 2016-10-20 15:52:13 +02:00
102fb9359b init class members in MsgC 2016-09-26 17:06:18 +02:00
8136e7ccf5 #include cleanup in UdpServer.* 2016-09-26 15:26:00 +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
6a347fce2d Removed commented-out references to g_udpServer2 2016-08-30 14:28:33 +02:00
c2a7663763 Removed some asses from UdpServer 2016-08-11 17:22:06 +02:00
88267f16f1 Remove dependency of UdpSlots from PageSockets 2016-08-11 12:58:51 +02:00
0ac52d0cb9 Code style changes 2016-08-11 12:58:51 +02:00
207c379caa Remove unused/always same value replyBuf, replyBufMaxSize, rdbId from Multicast::send 2016-08-03 14:33:08 +02:00
b0a460fecd Remove unused/always same args from Multicast::send 2016-08-03 14:09:56 +02:00
2289ba93d0 Remove unused arg redirectTimeout from Multicast::send 2016-08-03 12:49:51 +02:00
a3825ec391 Add comment 2016-08-03 12:43:56 +02:00
bab9e9da06 Remove unused proxy code 2016-08-03 12:43:21 +02:00
5f14fb2cee More msgType changes 2016-07-25 16:00:36 +02:00
dd800eb19c Delete comment 2016-07-25 15:13:03 +02:00
bde87ec9a3 Modify hardcoded msg type to a proper msg_type_t enum 2016-07-25 15:13:03 +02:00
f3f5eefcb6 First batch of changes streamlining emergency shutdown code 2016-06-20 12:30:26 +02:00
023673fab0 Fix conversion from string literal to 'char *' for Conf, Msg12, Msg3, MsgC, Parms, PingServer, Rdb, RdbBase, RdbBuckets, TcpServer, XmlDoc 2016-05-31 11:26:02 +02:00
9682469635 Fix conversion from string literal to 'char *' for MsgC 2016-05-31 11:26:02 +02:00
5686d6dbec fix dns lookup bug that was causing us
to get incorrect ips sometimes.
2016-05-30 16:25:27 +02:00
d40ecb2f8e Replace INT32/INT64 and likes with PRId32 and likes. Add space before definition. 2016-05-20 09:18:32 +02:00
34a4d08cd1 Add Url::set overload for all false boolean paramater 2016-04-05 23:21:50 +02:00
5ccfde3e2a Remove titleRecVersion from Url.h/Url.cpp. Checks there are versions from before gigablast was open-sourced 2016-04-05 23:21:50 +02:00
bb02ad47e0 added error log before calling sendErrorReply to aid in debugging of out-of-mem problem on a signel host that caused all queries to fail. May be removed again later 2016-03-18 23:44:28 +01:00
7e21e73603 Make url member private. Remove unused functions 2016-03-03 14:34:31 +01:00
95b3a6273d Changed Multicast:.send() parameter timeout to milliseconds
Additionally introduced symbolic constants for timeouts instead of having
arbitrary literals peppered all over the code. Also changed timeout calculation
in Msg3a::gotCacheReply() from effectively always setting a timeout of 60 seconds
to 10.
2016-02-04 13:57:17 +01:00
e0fac73695 Got rid of default parameter values in Url.cpp set functions. Added support for removal of common tracking parameters in URLs. 2016-01-17 22:49:02 +01:00
0948c237ac Send hostname for SSL connection to cater for TLS SNI 2015-12-22 15:46:01 +01:00
bdaaaacd23 Bugfix for robots.txt handling on https sites. Removed some dead code. 2015-12-15 12:46:29 +01:00
4a4a264058 Bugfix for robots.txt handling on https sites. Removed some dead code. 2015-12-15 12:37:07 +01:00
6a9defd2b0 Cleanup in Multicast.*
m_retired change from char to bool
m_sendToWholeGroup member removed (it was only used in the send method where it
is a parameter)
send(...hostdb...) parameter removed as well as m_hostdb member, so "secondary
clusters" are no long supported (if they ever were?)
2015-12-14 12:27:56 +01:00
2e805b99d3 Removed retry-forever meber and logic from Multicast.*
Nothing should retry forever. Even for those essential message that we must get
a reponse on, after an hour or so the best option is to restart the whole
program. Nothing loops forever.
2015-12-11 16:19:36 +01:00
8ea76f7b7f Removed 'realtime' parameter from Multicast::send()
The parameter has been forced =false and the functionality looks non-functional
2015-12-08 14:32:36 +01:00
2a4947ea54 fix compiler bug 2015-09-12 22:27:30 -06:00
ddf4ae2240 More testing on nospider, noquery.
Add flags to make the nospider and noquery visible on hosts page.
2015-08-31 10:47:19 -06:00
87285ba3cd use gbmemcpy not memcpy so we can get profiler working again
since memcpy can't be interrupted and backtrace() called.
2015-01-13 12:25:42 -07:00
4e8a42e024 text replacements for bad int32_t substitutions 2014-11-17 18:24:38 -08:00
4c19453ea9 working with -m32 for basic testing.
compiles for 64-bit.
2014-11-12 11:38:37 -08:00
96b8197ad3 now it compiles with -m32 2014-11-10 14:45:11 -08:00