File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737 run : |
3838 mkdir cmake-build-win64
3939 cd cmake-build-win64
40- cmake .. -G "Visual Studio 17 2022" - A x64 -DCMAKE_BUILD_TYPE=Release
40+ cmake .. -A x64 -DCMAKE_BUILD_TYPE=Release
4141 cmake --build . --config Release
4242 cd ..
4343
Original file line number Diff line number Diff line change @@ -103,6 +103,7 @@ class Http1Parser : public HttpParser {
103103 res->Reset ();
104104 parsed = res;
105105 http_parser_init (&parser, HTTP_RESPONSE );
106+ state = HP_START_REQ_OR_RES ;
106107 url.clear ();
107108 header_field.clear ();
108109 header_value.clear ();
Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ class MqttClient {
250250
251251 int subscribe (const char * topic, int qos = 0 , MqttCallback ack_cb = NULL ) {
252252 int mid = mqtt_client_subscribe (client, topic, qos);
253- if (qos > 0 && mid >= 0 && ack_cb) {
253+ if (mid >= 0 && ack_cb) {
254254 setAckCallback (mid, ack_cb);
255255 }
256256 return mid;
You can’t perform that action at this time.
0 commit comments