Merge bug24753 into default
This commit is contained in:
commit
3727b4ac7b
|
|
@ -93,9 +93,12 @@ handle_cast({"CONNECT", Frame, noflow}, State) ->
|
|||
handle_cast(Request, State = #state{channel = none,
|
||||
config = #stomp_configuration{
|
||||
implicit_connect = true}}) ->
|
||||
{noreply, State1, _} =
|
||||
{noreply, State1 = #state{channel = Ch}, _} =
|
||||
process_connect(implicit, #stomp_frame{headers = []}, State),
|
||||
handle_cast(Request, State1);
|
||||
case Ch of
|
||||
none -> {stop, normal, State1};
|
||||
_ -> handle_cast(Request, State1)
|
||||
end;
|
||||
|
||||
handle_cast(_Request, State = #state{channel = none,
|
||||
config = #stomp_configuration{
|
||||
|
|
|
|||
Loading…
Reference in New Issue