mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-21 18:26:57 +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