odelot / aws-mqtt-websockets

Implementation of a middleware to use AWS MQTT service through websockets, aiming the ESP8266 plataform
GNU Lesser General Public License v3.0
231 stars 67 forks source link

Added port number to signed URL #10

Closed rahu2581 closed 8 years ago

rahu2581 commented 8 years ago

arduinoWebSockets added the port to their Host header. Since the signature signs this Host header it needs to contain this port also.

Fixes #9. Potentially also some of the other issues.

odelot commented 7 years ago

We forgot to count the length of the ":" when allocating memory for that line. Fixed that and it worked with port number in the host