sstrigler/JSJaC

IE 8-9 XDomainReq HTTPS

Closed this issue · 4 comments

Problem with cross-domain htpps connection to port 5281:

diff --git a/src/JSJaCHttpBindingConnection.js b/src/JSJaCHttpBindingConnection.js
index 4a4a54f..9422e97 100644
--- a/src/JSJaCHttpBindingConnection.js
+++ b/src/JSJaCHttpBindingConnection.js
@@ -164,7 +164,7 @@ JSJaCHttpBindingConnection.prototype._getRequestString = function(raw, last) {
if (xml != '' || raw != '') {
reqstr += ">" + raw + xml + "";
} else {

  •  reqstr += "> </body>";
    
  •  reqstr += "></body>";
    
    }

what?

HiWe use cross-domain requests to prevent using proxy at server side,so, for IE we use instad xmlHttpRequest xDomainReq. When we communicate with port 5280 (http-bind) using http everything works well,but when we switched to port 5282 throw https we found a problem...in one space in tag, after removing them IE works well. 14.09.2012, 17:21, "Stefan Strigler" notifications@github.com:what?— Reply to this email directly or view it on GitHub.

problem was with ejabberd server when packet length is 255 bytes.

Hi, if you could repost your patch in a correct (applicable) format, I'd be happy to integrate.