Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Did you forget to close a response body? #82

Open
AloisHofstaetter opened this issue May 15, 2020 · 0 comments
Open

Did you forget to close a response body? #82

AloisHofstaetter opened this issue May 15, 2020 · 0 comments

Comments

@AloisHofstaetter
Copy link

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant