Closed qiangmzsx closed 4 years ago
This is a really old version of unirest that had thread leaking problems. The issue was resolved. Please upgrade to the newest Kong unirest version.
Alos, just FYI, under the covers Unirest is creating (and tearing down) an Apache Http Client and thread monitors. So this is an expensive operation. You should not be calling the settings this often. Do it once.
Describe the bug Multiple executions of Unirest.setTimeouts will cause OOM
Demo
info
Environmental Data: