Switch to hivemq

This commit is contained in:
cpq committed 2020-12-10 16:36:24 +00:00
1 parent 14ccd78782
commit cf62702f08
1 file changed
+2 -1
+2 -1
View File
@@ -265,7 +265,8 @@ static void test_mqtt(void) {
struct mg_str topic = mg_str("x/f12"), data = mg_str("hi");
struct mg_connection *c;
struct mg_mqtt_opts opts;
const char *url = "mqtt://mqtt.eclipse.org:1883";
// const char *url = "mqtt://mqtt.eclipse.org:1883";
const char *url = "mqtt://broker.hivemq.com:1883";
int i;
mg_mgr_init(&mgr);