Closed Bug 156928 Opened 22 years ago Closed 21 years ago

Can't open simultaneous connections to different ports on the same server

Categories

(Other Applications :: ChatZilla, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bugzilla, Assigned: rginda)

References

Details

Attachments

(1 file)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.1a+) Gecko/20020711
BuildID:    2002071104

When a connection to server foo, port 6667 is open, trying to open another
connect to server foo, port 6668 results in an error message:

[ERROR]Already connected to foo
[USAGE]server <server-hostname> [<port>] [<password>]



Reproducible: Always
Steps to Reproduce:
1. Start ChatZilla
2. /server localhost 6667
3. /server localhost 6668

Actual Results:  [ERROR]Already connected to localhost
[USAGE]server <server-hostname> [<port>] [<password>]

Expected Results:  Opened a second server tab for localhost on port 6668

I understand the rationale behind this behavior, since normally irc://foo:6667
and irc://foo:6668 are the same server (and most servers doesn't look kindly on
multiple connections).

In my case, however, irc://localhost:6667 and irc://localhost:6668 are port
forwardings (via http tunnel) to two different servers.  As a workaround, I can
connect to one as localhost and the other as 127.0.0.1, but then I could only
connect to two servers.

I guess the most practical solution would be a preference option to override
this default behavior, allowing multiple connections to a single host.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows NT → All
Hardware: PC → All
*** Bug 159419 has been marked as a duplicate of this bug. ***
I found the same problem, on windows /attaching to irc.svg.org on the default
port, and then attaching to the port I should have specified (6665) causes
ChatZilla to go into a loop (?) that keeps spitting out the message 'already
connected to irc.w3.org' or something close to that.

Then, attempting to close the client brings up a not responding message box that
shuts down mozilla.  (and prompts for a Microsoft notification on XP)

Rick.
<aol>Me Too!</aol>
cc'ing self.

Same situation as reporter here -- would like to use multiple tunnels
off localhost.
This changes three bits of code so that using different ports works fine. It
also fixes a problem where you could hang ChatZilla by trying to connect to a
different port on the same server, in some situations. Also causes the tabs to
show the port if it's not 6667.
Attachment #130061 - Flags: review?(rginda)
The proposed patch from silver has been integrated in chatzilla 0.9.29. I have
tested this and verified that opening connections to the same server with
different ports is possible now.
*** Bug 219683 has been marked as a duplicate of this bug. ***
Marking FIXED as this has been checked in, and is in official versions from
http://www.hacksrus.com/~ginda/chatzilla.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Attachment #130061 - Flags: review?(rginda)
Product: Core → Other Applications
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: