Commit Graph

152 Commits

Author SHA1 Message Date
6d5b6beb0d Removed write-only variable g_callSlot 2016-08-19 12:14:21 +02:00
5ba9dbc4fd Removed quickpoll functionality from Loop
All heavy tasks should be offloaded to threads so quickpolls (which we disabled many moons ago) are unnecessary.
2016-08-11 18:38:04 +02:00
c2a7663763 Removed some asses from UdpServer 2016-08-11 17:22:06 +02:00
c20ddd5076 Use m_activeListNext directly 2016-08-11 16:45:17 +02:00
bf6b740cdc Code style changes. Add logs. Remove unused function 2016-08-11 13:06:23 +02:00
f06d8f1cf4 Code style changes, removing commented out code 2016-08-11 12:58:52 +02:00
15a8627162 Store extraInfo to UdpSlot::sendSetup function 2016-08-11 12:58:52 +02:00
aa9a7ed96f Move UdpServer linked list manipulation into functions 2016-08-11 12:58:52 +02:00
9e5eba4482 Code styls changes, log changes, simplify code 2016-08-11 12:58:51 +02:00
88267f16f1 Remove dependency of UdpSlots from PageSockets 2016-08-11 12:58:51 +02:00
d51a9e0b20 Move args for UdpServer::sendRequest 2016-08-10 22:51:01 +02:00
53b3ce79da #include cleanup of TcpServer.h 2016-08-10 18:31:52 +02:00
92b8d9a545 Move scanning/saving of pending msg4 messages from Msg4 into UdpServer 2016-08-08 17:46:40 +02:00
4979138220 Fix cppcheck warning -> The scope of the variable 'took' can be reduced. 2016-08-08 17:46:40 +02:00
f797b3b91b Fix cppcheck warning -> The scope of the variable 'score' can be reduced 2016-08-08 17:46:40 +02:00
917ee7908b Removed race conditions in Mem.cpp
Mostly on m_user which is mostly harmless because most unprotected reads could handle garbage reads
2016-08-08 12:57:00 +02:00
b3f7f06bcf Move oom calculation nearer to where it is needed 2016-08-08 12:36:53 +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
fa2f84a58e Code style changes 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
a844deebce Encapsulate UdpSlot::m_errno 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
25d8389dcf Encapsulate UdpSlot::m_hostId 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
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
fb2fdbfb1d Use logDebug 2016-08-03 16:22:37 +02:00
ddd3305b83 Code style changes 2016-08-03 16:22:37 +02:00
c49956dbc5 Remove commented out code 2016-08-03 16:22:37 +02:00
c3a671ed1e Remove replybuf & replybuf size for UdpServer::sendRequest 2016-08-03 14:48:10 +02:00
c1ce6537eb Code style changes 2016-08-03 11:45:48 +02:00
4e4e3371e6 Log function will now return void instead of a boolean 2016-08-01 18:12:10 +02:00
74eda7617b Code style changes 2016-07-27 09:14:35 +02:00
81b57c9d32 Remove g_errno check in Log.cpp.
It's only use to control if congestion message should be logged.
2016-07-27 02:10:14 +02:00
fdfcd927b8 Use %02x instead of %hhu for msgType. Enable debug comment. Code style changes. 2016-07-26 17:20:51 +02:00
fd6e8cbb21 Remove more qa specific code 2016-07-26 15:19:01 +02:00
919602b82b Rearranged some parts of UdpServer header. Remove commented out code 2016-07-25 21:36:24 +02:00
d03334ca07 Change log level 2016-07-25 17:05:27 +02:00
6e1e22edca Remove unused Msg17 2016-07-25 16:51:03 +02:00
5f14fb2cee More msgType changes 2016-07-25 16:00:36 +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
5904307ddf Remove unused Dns::cancel 2016-07-25 15:13:03 +02:00
970c04ba05 Change log level 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