Commit Graph

71 Commits

Author SHA1 Message Date
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
ef1e708dc5 Remove reference to msg 0x02 2016-07-23 20:43:35 +02:00
3a22fd3a61 Remove reference to msg 0x34 2016-07-23 20:43:35 +02:00
83ad86c91e Remove commented out code 2016-07-23 20:43:35 +02:00
e3d5eda784 Remove reference to msg 0x08 2016-07-23 20:43:35 +02:00
91ed387123 Remove reference to msg 0x09 2016-07-23 20:43:35 +02:00
fdcf48e003 Remove reference to msg 0x06 2016-07-23 20:43:35 +02:00
4867e4f0b3 Remove reference to msg 0x12 2016-07-23 20:43:35 +02:00
d0498a2874 Remove reference to msg 0x0d 2016-07-23 20:43:35 +02:00
306e66026e Remove reference to msg 0x10 2016-07-23 20:43:35 +02:00
3082ed9c36 Remove reference to msg 0x8b 2016-07-23 20:43:35 +02:00
ddf9257840 Rename m_tmpBuf to m_hostname which is what it really stores 2016-07-23 20:43:35 +02:00
3227b67ff0 More constness in Page*.cpp (mostly const char* for string literals) 2016-05-22 15:47:17 +02:00
d40ecb2f8e Replace INT32/INT64 and likes with PRId32 and likes. Add space before definition. 2016-05-20 09:18:32 +02:00
5100776662 Removed dead store
'count' was not used. Seems originally sendPageSockets() also included disk
count per host. Doesn't make much sense.
2016-03-10 00:22:31 +01:00
7b45665e17 Added const qualifier to some APIs
A few casts back to non-const were necessary in order to keep the patch size
manageble.
2016-02-26 10:29:13 +01:00
4cd7c9c13c Removed obsolete comments 2016-02-23 16:40:46 +01:00