mirror of
https://github.com/curl/curl.git
synced 2026-08-25 05:13:31 +03:00
mqtt: improve the state machine
To handle PUBLISH before SUBACK and more. Updated the existing tests and added three new ones. Reported-by: Christoph Krey Bug: https://curl.haxx.se/mail/lib-2020-04/0021.html Closes #5246
This commit is contained in:
parent
d1a2816b41
commit
5811beba39
11 changed files with 402 additions and 99 deletions
|
|
@ -42,7 +42,7 @@ s/^(.* 00044d5154540402003c000c6375726c).*/$1/
|
|||
</strippart>
|
||||
<protocol>
|
||||
client CONNECT 18 00044d5154540402003c000c6375726c
|
||||
server CONACK 2 20020000
|
||||
server CONNACK 2 20020000
|
||||
client PUBLISH f 000431313931736f6d657468696e67
|
||||
client DISCONNECT 0 e000
|
||||
</protocol>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue