Skip to content
This repository was archived by the owner on Nov 16, 2020. It is now read-only.

Commit 8b3ef8d

Browse files
Merge branch 'stable'
2 parents 3f4b32a + 9546e6f commit 8b3ef8d

8 files changed

+20
-21
lines changed

src/rabbit_web_mqtt_app.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
%% The Original Code is RabbitMQ.
1212
%%
1313
%% The Initial Developer of the Original Code is GoPivotal, Inc.
14-
%% Copyright (c) 2015 GoPivotal, Inc. All rights reserved.
14+
%% Copyright (c) 2007-2016 Pivotal Software, Inc. All rights reserved.
1515
%%
1616

1717
-module(rabbit_web_mqtt_app).

src/rabbit_web_mqtt_connection_sup.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
%% The Original Code is RabbitMQ.
1212
%%
1313
%% The Initial Developer of the Original Code is GoPivotal, Inc.
14-
%% Copyright (c) 2016 Pivotal Software, Inc. All rights reserved.
14+
%% Copyright (c) 2007-2016 Pivotal Software, Inc. All rights reserved.
1515
%%
1616

1717
-module(rabbit_web_mqtt_connection_sup).

src/rabbit_web_mqtt_handler.erl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
%% The Original Code is RabbitMQ.
1212
%%
1313
%% The Initial Developer of the Original Code is GoPivotal, Inc.
14-
%% Copyright (c) 2015 GoPivotal, Inc. All rights reserved.
14+
%% Copyright (c) 2012-2016 Pivotal Software, Inc. All rights reserved.
1515
%%
1616

1717
-module(rabbit_web_mqtt_handler).
@@ -41,7 +41,7 @@ websocket_init(_, Req, Opts) ->
4141
Sock = cowboy_req:get(socket, Req),
4242
case rabbit_net:connection_string(Sock, inbound) of
4343
{ok, ConnStr} ->
44-
rabbit_log:log(connection, info, "accepting WEB-MQTT connection ~p (~s)~n", [self(), ConnStr]),
44+
rabbit_log:log(connection, info, "accepting Web MQTT connection ~p (~s)~n", [self(), ConnStr]),
4545
ProcessorState = rabbit_mqtt_processor:initial_state(Sock,
4646
rabbit_mqtt_reader:ssl_login_name(Sock),
4747
fun send_reply/2),
@@ -66,7 +66,7 @@ websocket_init(_, Req, Opts) ->
6666
websocket_handle({binary, Data}, Req, State) ->
6767
handle_data(Data, Req, State);
6868
websocket_handle(Frame, Req, State) ->
69-
rabbit_log:log(connection, info, "WEB-MQTT: unexpected Websocket frame ~p~n",
69+
rabbit_log:log(connection, info, "Web MQTT: unexpected WebSocket frame ~p~n",
7070
[Frame]),
7171
{ok, Req, State, hibernate}.
7272

src/rabbit_web_mqtt_middleware.erl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
%%
1111
%% The Original Code is RabbitMQ.
1212
%%
13-
%% The Initial Developer of the Original Code is GoPivotal, Inc.
14-
%% Copyright (c) 2016 GoPivotal, Inc. All rights reserved.
13+
%% Copyright (c) 2012-2016 Pivotal Software, Inc. All rights reserved.
1514
%%
1615

1716
-module(rabbit_web_mqtt_middleware).

src/rabbitmq_web_mqtt.app.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{application, rabbitmq_web_mqtt,
22
[
3-
{description, "Rabbit WEB-MQTT - WebSockets to MQTT adapter"},
3+
{description, "RabbitMQ MQTT-over-WebSockets adapter"},
44
{vsn, ""},
55
{modules, []},
66
{registered, []},

test/src/rabbit_web_mqtt_test.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
%% The Original Code is RabbitMQ Management Console.
1212
%%
1313
%% The Initial Developer of the Original Code is GoPivotal, Inc.
14-
%% Copyright (c) 2012-2014 GoPivotal, Inc. All rights reserved.
14+
%% Copyright (c) 2007-2016 Pivotal Software, Inc. All rights reserved.
1515
%%
1616

1717
-module(rabbit_web_mqtt_test).

test/src/rabbit_web_mqtt_test_all.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
%% The Original Code is RabbitMQ Management Console.
1212
%%
1313
%% The Initial Developer of the Original Code is GoPivotal, Inc.
14-
%% Copyright (c) 2012-2014 GoPivotal, Inc. All rights reserved.
14+
%% Copyright (c) 2007-2016 Pivotal Software, Inc. All rights reserved.
1515
%%
1616

1717
-module(rabbit_web_mqtt_test_all).

test/src/rfc6455_client.erl

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
%% The contents of this file are subject to the Mozilla Public License
2-
%% Version 1.1 (the "License"); you may not use this file except in
3-
%% compliance with the License. You may obtain a copy of the License at
4-
%% http://www.mozilla.org/MPL/
1+
%% The contents of this file are subject to the Mozilla Public License
2+
%% Version 1.1 (the "License"); you may not use this file except in
3+
%% compliance with the License. You may obtain a copy of the License at
4+
%% http://www.mozilla.org/MPL/
55
%%
6-
%% Software distributed under the License is distributed on an "AS IS"
7-
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
8-
%% License for the specific language governing rights and limitations
9-
%% under the License.
6+
%% Software distributed under the License is distributed on an "AS IS"
7+
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
8+
%% License for the specific language governing rights and limitations
9+
%% under the License.
1010
%%
11-
%% The Original Code is RabbitMQ Management Console.
11+
%% The Original Code is RabbitMQ Management Console.
1212
%%
13-
%% The Initial Developer of the Original Code is GoPivotal, Inc.
14-
%% Copyright (c) 2012-2014 GoPivotal, Inc. All rights reserved.
13+
%% The Initial Developer of the Original Code is GoPivotal, Inc.
14+
%% Copyright (c) 2012-2016 Pivotal Software, Inc. All rights reserved.
1515
%%
1616

1717
-module(rfc6455_client).

0 commit comments

Comments
 (0)