79080770

Date: 2024-10-12 10:16:54
Score: 1
Natty:
Report link

Reply to @JeffMiller's comment of 1st answer; If anyone is still running into that unexpected "filtered" situation

DONT

HttpClient httpClient = HttpClient.create();
httpClient.config1();
httpClient.config2();
httpClient.**wiretap**(..);

DO this instead

HttpClient httpClient = HttpClient.create()
    .config1();
    .**wiretap**("AnyLoggerNameWillBeOK"); // just remember to adjust the real log level

or you can also DO this

HttpClient httpClient = HttpClient.create(pooled);
httpClient = httpClient.config1(..);
httpClient = httpClient.wiretap(..);

The real reason behind this is the method: reactor.netty.transport.Transport#duplicate

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @JeffMiller's
  • Low reputation (1):
Posted by: Xiaoye.Y