sgcWebSockets 4.4.6

· Lançamentos

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

[+] : Novo evento OnBeforeForwardHTTP on Server Components, permite forward an HTTP request to another server. (Obrigado a Olaf for his suggestion).
[+] : Novo evento OnAfterForwardHTTP on Server Components, permite know a resposta from HTTP Forwarded Request.
[+] : Aprimorado TsgcWebSocketHTTPServer, now has support for HTTP/2 Server Push usando PushPromiseAddPreLoadLinks method para configurar the push promise files.
[+] : Aprimorado TsgcWebSocketHTTPServer, added support for HTTP/2 cookies.
[+] : Aprimorado TsgcWebSocketHTTPServer, novo Property HTTP2Options.Events, configures if Connect/Disconnect events are called under HTTP/2 protocol (by padrão are desabilitada).
[+] : Nova propriedade ReadBufferSize in HTTP.SYS Server, permite definir the size of the read buffer, por padrão is 16384.
[+] : Aprimorado Telegram API, send bot messages with buttons (Callback and Url) is now compatível.
[+] : Aprimorado Telegram API, a novo evento "OnNewCallbackQuery" foi adicionado, permite process which buttons have selected the users.
[+] : Aprimorado Google PubSub API, now suporta service accounts usando JWT as Authentication.
[+] : Aprimorado MQTT client, HeartBeat now suporta Timeout, se após x time o cliente não receive a response to the ping previously sent, it closes a conexão automatically.


[*] : Corrigido bug writing ALPN protocol when FastMM4 is habilitada.
[*] : Corrigido bug Out of Memory when HTTP/2 and FastMM4 are habilitada reading internal Frames.
[*] : Corrigido bug in Indy Servers, the ReadTimeOut value was not used após read socket data para verificar if there was more data to process.
[*] : Corrigido bug TsgcHTTP2Client when received a RSTStream, o evento wasn't assigned and an access violation era disparado.
[*] : Corrigido bug Azure IoT MQTT Client when passing a property com o "/" character, it wasn't encoded properly.
[*] : Corrigido bug Access Violation when closing HTTP.SYS server (if SSL was habilitada) under x64 and FastMM5 was habilitada.
[*] : Corrigido bug when assigning a thread-name under DEBUG, in some cases, a thread name was assigned to incorrect thread.
[*] : Corrigido bug Basic Authorization was not read under HTTP/2 protocol if Authentication was not habilitada.
[*] : Corrigido bug Server HTTP/2 Protocol reading a Window_Update enquanto Header Frame was not already processed.
[*] : Corrigido bug HTTP/2 Protocol, conexão window update was not updated and um erro era disparado closing connection.
[*] : Corrigido bug HTTP/2 Protocol decodificando latest header of Static table.
[*] : Corrigido bug HTTP/2 Protocol receiving unexpected stream identifier in client component.
[*] : Corrigido bug Google Calendar Client access violation when reading padrão reminders.
[*] : Corrigido bug TsgcWebSocketClient if Options.CleanDisconnect = True and there was um erro sending the close message, the disconnect event wasn't called.
[*] : Corrigido bug TsgcWebSocketClient, avoid potential thread-lock when reconnecting to server if notifyEvents = neNoSync. (Obrigado a Stefan por me avisar).
[*] : Corrigido bug TsgcWebSocketClient, avoid potential call to OnDisconnect event twice.
[*] : Corrigido bug vazamento de memória on Telegram Client.
[*] : Corrigido bug SignalR client, invalid variant error if connects to a non SignalR server.
[*] : Corrigido bug SignalR client, potential invalid variant error decodificando ConnectionTimeout.
[*] : Corrigido bug LogFile of TsgcWebSocketClient wasn't thread safe. (Obrigado a Eddy por me avisar).
[*] : Corrigido bug TsgcWebSocketClient usando TLS 1.3 às vezes um erro era disparado ao conectar no servidor.

[/] : TsgcWebSocketClient.FWSConnection is now cleared BEFORE OnDisconnect event is called.