mirror of
https://github.com/espressif/esp-mqtt.git
synced 2026-08-03 20:14:15 +02:00
Crash fixes and ssl connection (#29)
* add missing config for setting default port for SSL in Kconfig * free the TCP only after closing the connection , not before * set the config in the client before we access the schema in the client * fix typo * dispatch also Publish event
This commit is contained in:
@@ -39,6 +39,14 @@ config MQTT_TCP_DEFAULT_PORT
|
||||
help
|
||||
Default MQTT over TCP port
|
||||
|
||||
config MQTT_SSL_DEFAULT_PORT
|
||||
int "Default MQTT over SSL port"
|
||||
default 8883
|
||||
depends on MQTT_USE_CUSTOM_CONFIG
|
||||
depends on MQTT_TRANSPORT_SSL
|
||||
help
|
||||
Default MQTT over SSL port
|
||||
|
||||
config MQTT_WS_DEFAULT_PORT
|
||||
int "Default MQTT over Websocket port"
|
||||
default 80
|
||||
|
||||
Reference in New Issue
Block a user