sgcWebSockets 4.4.5

· Wydania

Oto pełna lista nowych funkcji i poprawek błędów dostępnych w sgcWebSockets 4.4.5:

[+] : Nowy komponent TsgcHTTP_OAuth2_Server, server implementation of OAuth2 protocol, allows to Authorize and Issue Access Tokens to OAuth2 clients.
[+] : Nowe demo which shows how enable OAuth2 on Server Components (is located in folder Demos\20.HTTP_Protocol\02.OAuth2_Authentication).
[+] : Ulepszono Azure IoT MQTT Client, teraz DeviceToCloud allows to send Properties in the Message (are key-value pairs).
[+] : Nowa właściwość HTTPClientOptions in TsgcHTTP_OAuth2_Client, allows to customize the HTTP Client when requests a new token.
[+] : Nowa właściwość BindingOptions in HTTP.SYS Server, allows to customize if server Configures the SSL Certificate when starts (requires admin rights) or not. By default is enabled.
[+] : Nowe zdarzenie "OnBeforeBinding" in HTTP.SYS Server, allows to customize the URLs will be reserved by Server.
[+] : Ulepszono TsgcWebSocketClient_WinHTTP, nowa właściwość Options.FragmentedMessages which works like TsgcWebSocketClient.
[+] : Ulepszono TsgcWebSocketClient_WinHTTP, nowe zdarzenie OnFragmented.
[+] : Nowa właściwość ConnectHeaders in TsgcWSPClient_STOMP, allows to send custom headers on connect method.

[*] : Naprawiono błąd Invalid Pointer when NotifyEvents = neAsynchronous and CheckSynchronize was called while the event was processing. (Podziękowania dla Dirk za informację)
[*] : Naprawiono błąd Processing Fragmented Messages, first fragmented was overwrited when second fragment arrived. (Podziękowania dla Patrik za informację)
[*] : Naprawiono błąd w TsgcWebSocketClient — when there was a disconnection, internal threads were stopped, but this method was called several times w pewnych przypadkach.
[*] : FIxed Bug potential Thread-Lock when NotifyEvents = neAsynchronous, connection was disconnected and there were messages pending to be processed.
[*] : Naprawiono błąd Access Violation error executing method "Start" when Client/Server was already destroyed.
[*] : Naprawiono błąd TsgHTTP_OAuth2, after receiving authorization code, state value was not compared against value send, teraz if is not equal returns an error.
[*] : Naprawiono błąd w kliencie Telegram, the read thread didn't start after connect to telegram servers.
[*] : Naprawiono błąd w kliencie Telegram, the Title of the chat message wasn't properly decoded. (Podziękowania dla Hyeonwoo za informację).
[*] : Naprawiono Warnings compiling from Rad Studio XE8 to 10.1 Berlin
[*] : Naprawiono błąd w serwerze Indys, if connection was already closed but Buffer had still data to process, the thread never ends and make use of full cpu.
[*] : Naprawiono błąd HTTP.SYS Server, if OnHTTPRequest event wasn't set, there wasn't any response from server, teraz returns a 404 error.
[*] : Naprawiono błąd HTTP.SYS Server decoding HTTP methods, only GET and POST were supported.
[*] : Naprawiono błąd HTTP.SYS Server, memory leak when destroying a connection in TsgcWSMSG object.
[*] : Naprawiono błąd HTTP.SYS Server, invalid pointer exception trying to free an object while disconnecting.
[*] : Naprawiono błąd HTTP.SYS Server, when there was an error starting the server, the real error message wasn't raised to user.
[*] : Naprawiono błąd in TsgcWSAPI_SocketIO component when initializing connection and ioAPI0 is selected as API (Podziękowania dla Jean za informację).
[*] : Naprawiono błąd connecting when WriteTimeOut > 0 on none Windows OS, teraz this property only applies to Windows.

[/] : TsgHTTP_OAuth2 component renamed to TsgcHTTP_OAuth2_Client.
[/] : Unit sgcHTTP_OAuth.pas renamed to sgcHTTP_OAuth_Client.pas
[/] : Unit sgcHTTP_OAuth2.pas renamed to sgcHTTP_OAuth2_Client.pas