mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
change default client version to 06
Signed-off-by: Andy Green <andy@warmcat.com>
This commit is contained in:
parent
6da560c63c
commit
193306ca2d
2 changed files with 2 additions and 1 deletions
|
@ -55,7 +55,7 @@ libwebsocket_client_connect(struct libwebsocket_context *this,
|
|||
/* -1 means just use latest supported */
|
||||
|
||||
if (ietf_version_or_minus_one == -1)
|
||||
ietf_version_or_minus_one = 5;
|
||||
ietf_version_or_minus_one = SPEC_LATEST_SUPPORTED;
|
||||
|
||||
wsi->ietf_spec_revision = ietf_version_or_minus_one;
|
||||
wsi->name_buffer_pos = 0;
|
||||
|
|
|
@ -89,6 +89,7 @@ static inline void debug(const char *format, ...)
|
|||
#define MAX_USER_RX_BUFFER 4096
|
||||
#define MAX_BROADCAST_PAYLOAD 2048
|
||||
#define LWS_MAX_PROTOCOLS 10
|
||||
#define SPEC_LATEST_SUPPORTED 6
|
||||
|
||||
#define MAX_WEBSOCKET_04_KEY_LEN 128
|
||||
#define SYSTEM_RANDOM_FILEPATH "/dev/urandom"
|
||||
|
|
Loading…
Add table
Reference in a new issue