mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-23 04:56:34 +00:00
Don't keepalive connections on external upload.
Workaround for an Android OS bug. Fixes #1 // FREEBIE
This commit is contained in:
@@ -400,6 +400,7 @@ public class PushServiceSocket {
|
||||
|
||||
connection.setRequestMethod(method);
|
||||
connection.setRequestProperty("Content-Type", "application/octet-stream");
|
||||
connection.setRequestProperty("Connection", "close");
|
||||
connection.connect();
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user