mirror of
https://github.com/arduino-libraries/ArduinoHttpClient.git
synced 2025-04-19 21:22:15 +03:00
Merge pull request #26 from sandeepmistry/websocket-sec-key-length
Increase WebSocket sec key length to 24 characters
This commit is contained in:
commit
050821b224
@ -35,8 +35,8 @@ int WebSocketClient::begin(const char* aPath)
|
||||
|
||||
if (status == 0)
|
||||
{
|
||||
uint8_t randomKey[13];
|
||||
char base64RandomKey[21];
|
||||
uint8_t randomKey[16];
|
||||
char base64RandomKey[25];
|
||||
|
||||
// create a random key for the connection upgrade
|
||||
for (int i = 0; i < (int)sizeof(randomKey); i++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user