sgcWebSockets 4.4.5

· Lançamentos

Aqui está a lista completa de novos recursos e correções de bugs incluídos no sgcWebSockets 4.4.5:

[+] : Novo Component TsgcHTTP_OAuth2_Server, server implementation of OAuth2 protocol, permite Authorize and Issue Access Tokens to OAuth2 clients.
[+] : Novo Demo which shows how enable OAuth2 on Server Components (is localizado em folder Demos\20.HTTP_Protocol\02.OAuth2_Authentication).
[+] : Aprimorado Azure IoT MQTT Client, now DeviceToCloud permite enviar Properties in the Message (are key-value pairs).
[+] : Nova propriedade HTTPClientOptions in TsgcHTTP_OAuth2_Client, permite personalizar the HTTP Client when requests a new token.
[+] : Nova propriedade BindingOptions in HTTP.SYS Server, permite personalizar if server Configures the SSL Certificate when starts (requires admin rights) or not. By padrão is habilitada.
[+] : Novo evento "OnBeforeBinding" in HTTP.SYS Server, permite personalizar the URLs será reserved by Server.
[+] : Aprimorado TsgcWebSocketClient_WinHTTP, nova propriedade Options.FragmentedMessages which works like TsgcWebSocketClient.
[+] : Aprimorado TsgcWebSocketClient_WinHTTP, novo evento OnFragmented.
[+] : Nova propriedade ConnectHeaders in TsgcWSPClient_STOMP, permite enviar custom headers on connect method.

[*] : Corrigido bug Invalid Pointer when NotifyEvents = neAsynchronous and CheckSynchronize was called enquanto o evento was processing. (Obrigado a Dirk por me avisar)
[*] : Corrigido bug Processing Fragmented Messages, first fragmented was overwrited when second fragment arrived. (Obrigado a Patrik por me avisar)
[*] : Corrigido bug TsgcWebSocketClient when there was a disconnection, internal threads were stopped, but this method was called several times in some cases.
[*] : FIxed Bug potential Thread-Lock when NotifyEvents = neAsynchronous, conexão was disconnected and there were messages pending to be processed.
[*] : Corrigido bug Access Violation error executing method "Start" when Client/Server was already destroyed.
[*] : Corrigido bug TsgHTTP_OAuth2, após receiving authorization code, state value was not compared against value send, now if is not equal returns an error.
[*] : Corrigido bug Telegram Client, the read thread não start após connect to telegram servers.
[*] : Corrigido bug Telegram Client, the Title of the chat message wasn't properly decoded. (Obrigado a Hyeonwoo por me avisar).
[*] : Corrigido Warnings compiling from Rad Studio XE8 to 10.1 Berlin
[*] : Corrigido bug Indy Servers, se conexão was already closed but Buffer had still data to process, a thread never ends and make usar of full cpu.
[*] : Corrigido bug HTTP.SYS Server, se OnHTTPRequest event wasn't set, there wasn't any response from server, now returns a 404 error.
[*] : Corrigido bug HTTP.SYS Server decodificando HTTP methods, only GET and POST were compatível.
[*] : Corrigido bug HTTP.SYS Server, memory leak when destroying a conexão in TsgcWSMSG object.
[*] : Corrigido bug HTTP.SYS Server, invalid pointer exception trying to free an object enquanto disconnecting.
[*] : Corrigido bug HTTP.SYS Server, quando there was um erro starting the server, the real error message wasn't raised to user.
[*] : Corrigido bug in TsgcWSAPI_SocketIO component when initializing conexão and ioAPI0 is selected as API (Obrigado a Jean por me avisar).
[*] : Corrigido bug connecting when WriteTimeOut > 0 on none Windows OS, now 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