ESP8266MQTTClient
ESP8266MQTTClient copied to clipboard
ws communication headers are compared case sensitive
Http header names are not case sensitive, bool MQTTWSTraits::connect(WiFiClient* clientIn, const char* host, int port, const char *path)
does a case sensitive coparison of the headers (temp.startsWith("upgrade: websocket")
.
If a client sends the header in different casing as expected, the websocket connection will fail.