Closed
Bug 94962
Opened 23 years ago
Closed 16 years ago
Can't post to servers with same hostname, but different ports
Categories
(MailNews Core :: Networking: NNTP, defect)
Tracking
(Not tracked)
People
(Reporter: BenB, Unassigned)
References
Details
Attachments
(2 files)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review |
Reproduction:
1. Set up a server/proxy host with n (n > 1) newsservers running at different
ports. The 2 newsservers should carry (at least partly) different groups.
2. Set up Mozilla news accounts for each of them
3. Try to read groups from each of them
4. Try to post to each of them, to groups which don't exist on the respecitive
other newsserver.
Actual result:
Step 3 works.
Step 4 fails (at least for n-1 servers)
Expected result:
All steps work for all newsservers
Additional Comments:
I use this setup to access different news servers through my proxy.
Reporter | ||
Comment 1•23 years ago
|
||
Workaround: Add a fake hostnames to your /ets/hosts, pointing at the IP of the
server/proxy. Then, use these fake hostnames as hotnames in Mozilla's accounts.
The problem seems to be that some code thinks that an identical hostname means
an identical server, which is wrong.
Comment 2•23 years ago
|
||
cc networking guys.
Reporter | ||
Comment 3•23 years ago
|
||
I guess that "some code" is in Mailnews.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 5•23 years ago
|
||
The other bug is about the Account Manager, which works fine for me. REOPENing.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Comment 6•23 years ago
|
||
Comment 7•23 years ago
|
||
Ben, could you try my patch (attachment 53095 [details] [diff] [review]) ?
This patch mades only *minimal* changes to code,
and not the best possible one, I think. May be I'll
come with better patch later :-)
Reporter | ||
Comment 8•23 years ago
|
||
I don't have a current Mozilla build atm.
Comment 9•23 years ago
|
||
I'm not sure I about the hardcoded ':' part; if there are standard URI parsing
facilities available, we should use those. Bbaetz or Darin would probably know
about that.
Denis, perhaps if you looked at how other protocols handle this, we could do
this consistently for news?
Thanks
Comment 10•23 years ago
|
||
use nsnull instead of NULL.
There aren't parsing problems with this, since we're generating a host:port
string, not parsing one.
I'm not sure what the mailnews people think of the default paramaters, though.
Comment 11•23 years ago
|
||
This port situation is quite unique for nntp service :-).
Also, other protocol handlers (imap, for example), uses
hardcoded chars/string when constructing character strings
for URIs.
As for default parameters, it's not a problem, I can make them
non-default. Also, I think it's a good idea to change parameter
order of FindServerWithNewsgroup and FindHostFromGroup:
(groupName, host, port) sequence looks more clear that
(host, groupName, port). What do you think?
I'll come with new patch in a moment...
Comment 12•23 years ago
|
||
Reporter | ||
Comment 13•23 years ago
|
||
Probably dup of bug 54911.
*** Bug 170673 has been marked as a duplicate of this bug. ***
Updated•20 years ago
|
Product: MailNews → Core
Comment 15•17 years ago
|
||
sorry for the spam. making bugzilla reflect reality as I'm not working on these bugs. filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
Status: REOPENED → NEW
Comment 16•16 years ago
|
||
Filter on "Nobody_NScomTLD_20080620"
QA Contact: stephend → networking.news
Comment 17•16 years ago
|
||
Not quite. It's the same problem as 38137, I believe.
Status: NEW → RESOLVED
Closed: 23 years ago → 16 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•