87 Commits

Author SHA1 Message Date
710142bde4 #include cleanup in Pages.h 2017-11-14 14:23:54 +01: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
d7b3479f1a Removed unused 'fromIp' parameter to internal function printUdpTable()
Also removed default value from 'isDns'.
2017-01-16 11:42:03 +01:00
74d176279b Quell pclint warning about (harmless) implicit conversion of msg_type_t to int in log statements 2017-01-08 15:10:07 +01:00
026f1c1556 Use StackBuf<> instead of direct char[]+SafeBuf 2017-01-06 12:19:21 +01:00
ebc295f18a #include cleanup in HttpRequest.h 2016-12-08 16:41:38 +01:00
6502541baf Make local functions static 2016-11-19 15:20:00 +01:00
0e96613abf Changed direct access to Host::m_*http/httpsPort to methods
Create getInternalHttpPort()/getInternalHttpsPort()/getExternalHttpPort()/getExternalHttpsPort().
Changed references to Host::m_httpPort/m_httpsPort/m_externalHttpPort/m_externalHttpsPort.
Note: multiple references look fishy. The whole "external port" should be verified.
2016-11-17 17:31:42 +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
d52dabc828 #include cleanup of Url.h 2016-11-12 20:01:44 +01:00
376abb8e89 Better encapsulation of Dns 2016-11-12 16:51:54 +01:00
efc38568c6 constness in PageSockets.cpp 2016-11-12 16:44:07 +01:00
8c0b596a16 fix err in generated html in PageSockets 2016-10-21 11:41:04 +02:00
facb0c0487 removed duplicate function Hostdb::getHost 2016-10-19 17:15:38 +02:00
8b3d17aa9f fixed potential buffer overrun in sendPageSockets (PageSockets.cpp) 2016-09-28 17:28:15 +02:00
bfa4456313 Remove unused fromIp from Hostdb::getBestIp 2016-09-23 23:38:56 +02:00
76d2998cb3 Add constness 2016-08-11 12:58:52 +02:00
88267f16f1 Remove dependency of UdpSlots from PageSockets 2016-08-11 12:58:51 +02:00
13840a06f7 Add constness to some tld/domain/url functions 2016-08-11 12:58:51 +02:00
0becfe5b48 Simplify code 2016-08-10 22:51:01 +02:00
022948bba5 Simplify code 2016-08-09 23:46:50 +02:00
3ebf4488e3 Use declared RDBIDOFFSET instead of magic number 24 2016-08-09 22:49:09 +02:00
710a73bcf7 Remove commented out code & simplify code 2016-08-09 22:45:06 +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
219faa5835 More UdpSlot encapsulation 2016-08-05 10:05:56 +02:00
110f4ed1b8 Encapsulate UdpSlot::m_calledCallback & UdpSlot::m_calledHandler.
Change variable to bool instead of char.
Remove unnecessary sanity check.
2016-08-04 16:38:41 +02:00
64c61341ad Encapsulate UdpSlot::m_timeout 2016-08-04 16:38:41 +02:00
bffc849a59 Encapsulate UdpSlot::m_resendTime & UdpSlot::m_resendCount 2016-08-04 16:38:41 +02:00
12e3718fa6 Encapsulate UdpSlot::m_lastReadTime & UdpSlot::m_lastSendTime 2016-08-04 16:38:41 +02:00
d71ce28745 Encapsulate UdpSlot::m_dgramsToSend & UdpSlot::m_dgramsToRead 2016-08-04 16:38:41 +02:00
876870a098 Encapsulate UdpSlot::m_callback 2016-08-04 16:38:41 +02:00
d49f75755a Encapsulate UdpSlot::m_startTime 2016-08-04 16:38:41 +02:00
200ded7e3c Encapsulate UdpSlot::m_niceness 2016-08-04 16:38:41 +02:00
a623eb8eda Encapsulate UdpSlot parameters: m_transId, m_ip, m_port 2016-08-04 16:38:41 +02:00
f933abe5fc Code style changes 2016-08-04 11:35:19 +02:00
80a2644c11 Rename m_head2 to m_activeListHead, etc.. Rename m_head to m_availableListHead, etc.. 2016-08-04 11:26:08 +02:00
37b179d095 Rename m_head3, m_tail3, m_next3, m_prev3 to m_callbackListHead, m_callbackListTail, m_callbackListNext, m_callbackListPrev 2016-08-04 10:52:57 +02:00
7738c6af88 Use %02x instead of %hhx to print msgType 2016-07-26 17:09:15 +02:00
6e1e22edca Remove unused Msg17 2016-07-25 16:51:03 +02:00
c60e2862e8 Include msg counts for full range of message type 2016-07-25 15:13:03 +02:00
95d9e8a01c Change direct usage of m_msgType to getMsgType 2016-07-25 15:13:03 +02:00
1ce5b59670 Code style changes. More changes of hardcoded msg_type_t value to enum. Log levels. 2016-07-25 15:13:03 +02:00
1ff2bd2103 Remove reference to msg 0x50 2016-07-23 20:43:35 +02:00
c887588163 Remove reference to msg 0x3b 2016-07-23 20:43:35 +02:00
51e36af261 Remove reference to msg 0x35 2016-07-23 20:43:35 +02:00
b8dcaa8128 Remove reference to msg 0x23 2016-07-23 20:43:35 +02:00
e37c36b593 Remove reference to msg 0x24 2016-07-23 20:43:35 +02:00
11b181d995 Remove reference to msg 0x2c 2016-07-23 20:43:35 +02:00
62be7fa523 Remove reference to msg 0x36 2016-07-23 20:43:35 +02:00