Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
andremussche committed May 8, 2014
2 parents 77841a4 + f6f958f commit 491206d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions IdHTTPWebsocketClient.pas
Expand Up @@ -542,6 +542,7 @@ procedure TIdHTTPWebsocketClient.InternalUpgradeToWebsocket(aRaiseException: Boo
sURL := Format('http://%s:%d/socket.io/1/', [Host, Port]);
strmResponse.Clear;

ReadTimeout := 5 * 1000;
//get initial handshake
Post(sURL, strmResponse, strmResponse);
if ResponseCode = 200 {OK} then
Expand Down

0 comments on commit 491206d

Please sign in to comment.