I've been running into a lot of problems trying to get the ejabberd BOSH module to understand connection IDs and multiplexing. After a bit of thought it occurs to me that it would be useful to try contacting the authors of the BOSH/http-bind part of ejabberd.
While writing an email to Stefan Strigler, the author of the excellent JWChat and the original author of the ejabberd BOSH module, I had an idea. Rather than trying to write a bunch of code that "knows" about connection IDs and multiplexing, why not write something that looks to the BOSH module like a TCP connection, at least on the outside.
On the inside of the module, the implementation will know that it is multiplexing many connections into one connection.
At least, that is the plan. We'll see how it works out.
No comments:
Post a Comment