Here's a patch for de/mud/jta/plugin/Socket.java to
allow relaying of connections through HTTP/1.1's
CONNECT method. This is particularly useful for paranoid
environments that don't allow connections to other
ports than 80.
There is now a Socket.relayMethod that can be set to
"relayd" or "http" (relayd default to avoid breaking
things). The relay port number defaults to 31415 or 80,
depending on the choice.
I also .trim()ed a few options since the relay host would
bomb if it had a space at the end (was treated as a
different host).
In addition, I moved the OnlineStatus(true) broadcast
into the try{} in connect, and added an
OnlineStatus(false) in the catch{}. I hoped to avoid a
false OnlineStatus if the HTTP server sent malformed
responses. I'll admit I didn't really study the
architecture, so I'm hoping I didn't do anything wrong
here.
I've tried with Konqueror and MSIE, and it worked fine
(both had 1.4 jvms though).
Apply with
cd de/mud/jta/plugin
patch < Socket.patch
The mentioned patch
Logged In: YES
user_id=238975
Oh, this patch is for JTA 2.0.