-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathchange.log
More file actions
74 lines (55 loc) · 2.1 KB
/
change.log
File metadata and controls
74 lines (55 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
V1.0
1. fixed multi-byte remain lenght decode failed
2. remove SUB->print() in perf test by add: if (log4cplus::Logger::getRoot().isEnabledFor(log4cplus::DEBUG_LOG_LEVEL))
3. add profile analysis by add: In mqtt_server CMakeList.ext set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -ltcmalloc -lprofiler")
4. start can choose different server port: ./mqtt_server port
5. change epoll close problem
V1.0.1
6. add cmd option and change g_run -> g_stop_flag as a fuction parameter methord
V1.0.2
7. add mqtt msg logic. proto & version check, client status check and so on. not yet implement mqtt db store
V1.0.3
8. fix mqtt version: 3.1.1 ver = 4
9. support retain msg
10. support clean session set, not support no clean session now
11. fixed bug: in epoll close, call event_handler->handle_close(), in handle_close() will erase event from hash_map, can make iterator failed.
V1.0.4
1. add signal fd and timer fd into epoll mode. Test passed
2. change tcp_server: acceptor timerfd signalfd -> new object
3. fixed epoll close bug. Because static object acceptor timerfd signalfd may alreay destruct in epoll close.
V1.0.5
1. add client_id_db, implement qos = 1/offline message(send_message_queue)/puback/
2. flush to file has not yet implement.
V1.0.6
1. flush db_last_id, client_msg, db_msg to file
2. restore info from file
3. not implement retain msg
V1.0.7
1. add retain msg persist
2. fixed retain msg msg_id = 0
V1.0.8
1. change setting file to xml, and open log in CONFIG->open()
V1.0.9
1. change persist to msg pack
2. add idle client timeout check, lazy check in store_client_info()
V1.1.0
1. add tcp client
2. fix handle_input() read res judge, and call process lenght adjust
V1.1.1
1. add tcp client
2. add epoll notify queue
3. tcp client can forward msg to epoll based on notify pipe
V1.1.2
1. add http server, support GET and POST to publish msg
V1.1.3
1. chang http res to json
2. add mqtt run mode [bridge] or [mqtt_server]
V1.1.4
1. add cient close cdr stat
2. add msg pub detail recorde
V1.1.5
1. add thread wrapper for timer file
V1.1.6
1. add timer wheel
2. add tcp client
3. add http base class