libsignal-service-java icon indicating copy to clipboard operation
libsignal-service-java copied to clipboard

Did you forget to close a response body?

Open AloisHofstaetter opened this issue 4 years ago • 0 comments

Any time i download attachments i get the warning:

okhttp3.internal.platform.Platform log WARNING: A connection to https://cdn.signal.org/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);

Please add the missing body.close() in: org.whispersystems.signalservice.internal.push.PushServiceSocket private void downloadFromCdn(OutputStream outputStream, String path, int maxSizeBytes, ProgressListener listener)

Found in: org.whispersystems:signal-service-java:2.15.3

Thank you!

AloisHofstaetter avatar May 15 '20 09:05 AloisHofstaetter