Skip to content

Commit

Permalink
fixed: double connect (1::) message send
Browse files Browse the repository at this point in the history
  • Loading branch information
andremussche committed Jan 2, 2014
1 parent be08775 commit 86dc2bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions IdHTTPWebsocketClient.pas
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,8 @@ procedure TIdHTTPWebsocketClient.InternalUpgradeToWebsocket(aRaiseException: Boo
// end
// else
// FSocketIOContext.Create(Self); //update with new iohandler etc

(FSocketIOContext as TSocketIOContext).ConnectSend := True; //connect already send via url? GET /socket.io/1/websocket/9elrbEFqiimV29QAM6T-
FSocketIO.WriteConnect(FSocketIOContext as TSocketIOContext);
end;
finally
Expand Down

0 comments on commit 86dc2bf

Please sign in to comment.