Заметки к выпуску
Changed
- Built against
Hostpanel.Sdk3.7.0. - Every call to the gateway goes through the SDK's
PluginHttp: it runs under a 30 second deadline, reads the answer bounded to 1 MiB, and checks that the answer came from the host the request was sent to. A refused or dropped connection, a timeout, an oversized answer and an answer from another host are all reported as a transport failure, mapped in one place. The hand written connection fault wrapping, deadline handling and final address check are removed, and the redirect answer is still refused. - The gateway no longer clamps the timeout of the factory's HTTP client, because the deadline of the call replaces it.
- Wrapped two long lines in the icon test.
Tests
PluginHttpContract.AssertRedirectIsNotFollowedAsyncruns against the client the host gives a plugin. A test for an oversized answer is added and the dropped connection test checks the new fault.
Установка этой версии
- 1
Откройте список плагинов в админке Hostpanel.
- 2
Установите плагин с идентификатором «arca» и выберите версию 1.0.3.
- 3
Hostpanel скачивает этот подписанный пакет из реестра и проверяет подпись и версию SDK перед загрузкой.