SecureBridge 9.2 Websocket problems

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
securadmin
Posts: 1
Joined: Tue 26 May 2020 10:29

SecureBridge 9.2 Websocket problems

Post by securadmin » Tue 26 May 2020 10:46

Hello!
1. I get an accsess violation in TScWebSocketClient.MaskData when i trying to send big binary data. It can't split array of bytes. I found the decision: In TScWebSocketClient.SendData method, the line

Code: Select all

Inc(Data, Cnt);
shold be

Code: Select all

Inc(Integer(Data), Cnt);
2. Old documentation. The methods described in the documentation differ from the actual methods.
In documentation:

Code: Select all

procedure Connect(const Uri: string); overload;
procedure Connect; overload;
In reality:

Code: Select all

procedure Connect(const Uri: string; CancellationToken: TScCancellationToken = nil); overload;
procedure Connect(CancellationToken: TScCancellationToken = nil); overload;
and etc...
3. I can't find the description of TScCancellationToken.
4. TScWatchDogOptions.Attempts with -1 not working as unlimited.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: SecureBridge 9.2 Websocket problems

Post by ViktorV » Mon 01 Jun 2020 13:43

1. Unfortunately, we haven't been able to reproduce the issue.
In order for us to be able to give you a detailed answer, we need to have a sample demonstrating the specified behavior. Therefore, please compose a small sample demonstrating the described behavior and send it to us using the contact form https://devart.com/company/contactform.html
2-3 Thank you for the information. We'll add it to SecureBridge documentation in the next version.
4. Please describe the issue in greater detail, any additional information is appreciated.

Post Reply