aboutsummaryrefslogtreecommitdiff
path: root/asmack-master/patch/34-pin-jbosh-http-sender.patch
diff options
context:
space:
mode:
Diffstat (limited to 'asmack-master/patch/34-pin-jbosh-http-sender.patch')
-rw-r--r--asmack-master/patch/34-pin-jbosh-http-sender.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/asmack-master/patch/34-pin-jbosh-http-sender.patch b/asmack-master/patch/34-pin-jbosh-http-sender.patch
new file mode 100644
index 0000000..daf96df
--- /dev/null
+++ b/asmack-master/patch/34-pin-jbosh-http-sender.patch
@@ -0,0 +1,11 @@
+--- com/kenai/jbosh/BOSHClient.java 2010-01-13 20:57:36.000000000 +0100
++++ com/kenai/jbosh/BOSHClient.java 2010-02-04 17:40:45.678169320 +0100
+@@ -232,7 +232,7 @@
+ * HTTPSender instance.
+ */
+ private final HTTPSender httpSender =
+- ServiceLib.loadService(HTTPSender.class);
++ new ApacheHTTPSender();
+
+ /**
+ * Storage for test hook implementation.