fix clientId length

This commit is contained in:
Feng Lee 2014-12-28 21:27:08 +08:00
parent 2d6afe7ff3
commit 4a2b586ff9
2 changed files with 2 additions and 2 deletions

View File

@ -18,6 +18,8 @@
%% Copyright (c) 2007-2012 VMware, Inc. All rights reserved.
%%
-define(CLIENT_ID_MAXLEN, 1024).
-define(PROTOCOL_NAMES, [{3, <<"MQIsdp">>}, {4, <<"MQTT">>}]).
-define(MQTT_PROTO_MAJOR, 3).

View File

@ -43,8 +43,6 @@
-include("emqtt_frame.hrl").
-define(CLIENT_ID_MAXLEN, 23).
-record(state, {socket,
conn_name,
await_recv,