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