Skip to content

Commit

Permalink
Update Bird.Socket.Client.pas
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusvicente100 committed Nov 6, 2020
1 parent ee00b6d commit f4b544c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Bird.Socket.Client.pas
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,6 @@ function TBirdSocketClient.IsValidHeaders(const AHeaders: TStrings): Boolean;
end;

function TBirdSocketClient.IsValidWebSocket: Boolean;
const
READ_TIMEOUT = 30000;
var
LSpool: string;
LByte: Byte;
Expand All @@ -342,7 +340,6 @@ function TBirdSocketClient.IsValidWebSocket: Boolean;
try
try
FUpgraded := False;
FSocket.ReadTimeout := READ_TIMEOUT;
while Connected and not FUpgraded do
begin
LByte := FSocket.ReadByte;
Expand Down

0 comments on commit f4b544c

Please sign in to comment.