Browse Source

Merge pull request #11613 from YevhenBondarenko/revert-http-client-hotfix

Revert close connection header hotfix
pull/11667/head
Viacheslav Klimov 2 years ago
committed by GitHub
parent
commit
4fa2a944c2
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      rule-engine/rule-engine-components/src/main/java/org/thingsboard/rule/engine/rest/TbHttpClient.java

1
rule-engine/rule-engine-components/src/main/java/org/thingsboard/rule/engine/rest/TbHttpClient.java

@ -132,7 +132,6 @@ public class TbHttpClient {
this.webClient = WebClient.builder() this.webClient = WebClient.builder()
.clientConnector(new ReactorClientHttpConnector(httpClient)) .clientConnector(new ReactorClientHttpConnector(httpClient))
.defaultHeader(HttpHeaders.CONNECTION, "close") //In previous realization this header was present! (Added for hotfix "Connection reset")
.build(); .build();
} catch (SSLException e) { } catch (SSLException e) {
throw new TbNodeException(e); throw new TbNodeException(e);

Loading…
Cancel
Save