summaryrefslogtreecommitdiff
path: root/tests/server/mqttd.c
Commit message (Collapse)AuthorAgeFilesLines
* tests/mqttd: extract the client id from the correct offsetbagder/mqttdDaniel Stenberg2020-12-171-1/+1
| | | | Closes #6334
* mqttd: fclose test file when doneDaniel Stenberg2020-11-091-2/+5
| | | | | | | Reported-by: Marc Hörsken Reviewed-by: Jay Satiro Bug: #6058 Closes #6189
* curl.se: new homeDaniel Stenberg2020-11-041-1/+1
| | | | Closes #6172
* mqtt: improve the state machineDaniel Stenberg2020-04-201-29/+74
| | | | | | | | | | 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
* tests: introduce preprocessed test casesDaniel Stenberg2020-04-181-3/+1
| | | | | | | | | | | | The runtests script now always performs variable replacement on the entire test source file before the test gets executed, and saves the updated version in a temporary file (log/test[num]) so that all test case readers/servers can use that version (if present) and thus enjoy the powers of test case variable substitution. This is necessary to allow complete port number freedom. Test 309 is updated to work with a non-fixed port number thanks to this.
* mqttd: s/errno/SOCKERRNODaniel Stenberg2020-04-161-4/+2
| | | | | | | To behave proper on Windows Reported-by: Gisle Vanem Bug: https://github.com/curl/curl/commit/5e855bbd18f84a02c951be7cac6188276818cdac#r38507132 Closes #5241
* tests: add the mqtt test server mqttdDaniel Stenberg2020-04-141-0/+977