bugWeeChat - Bugs: bug #37215, Bug handling addresses when...

 
 

bug #37215: Bug handling addresses when reconfiguring to fewer address

Submitted by:  None
Submitted on:  Tue 28 Aug 2012 07:49:12 PM UTC  
 
Category: irc pluginSeverity: 3 - Normal
Item Group: otherStatus: Fixed
Privacy: PublicAssigned to: Sebastien Helleu <flashcode>
Originator Name: SimonOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 0.3.8
IRC nick: 

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 28 Aug 2012 07:49:12 PM UTC, original submission:

/server add test2 does-not-exist.weechat.org,www.weechat.org
/set weechat.network.connection_timeout 10
/set irc.server.test2.ipv6 off
/set irc.server.test2.autoreconnect on
/set irc.server.test2.autoreconnect_delay 10
/connect test2
# it will fail to connect to the first address as it doesn't exist,
# then try connecting to http://www.weechat.org (which ignores the attempt)
/set irc.server.test2.addresses irc.freenode.net

20:45:44 test2 -- | irc: connecting to server does-not-exist.weechat.org/6667...
20:45:44 test2 =!= | irc: address "does-not-exist.weechat.org" not found
20:45:44 test2 =!= | irc: error: Name or service not known
20:45:44 test2 | irc: switching address to http://www.weechat.org/6667
20:45:44 test2 -- | irc: connecting to server http://www.weechat.org/6667...
20:45:48 weechat | Option changed: irc.server.test2.addresses = "irc.freenode.net"
20:45:49 test2 =!= | irc: timeout
20:45:49 test2 -- | irc: reconnecting to server in 5 seconds
20:45:54 test2 -- | irc: reconnecting to server...
20:45:54 test2 =!= | irc: unknown address server "test2", cannot connect
20:45:54 test2 -- | irc: reconnecting to server in 5 seconds
20:45:59 test2 -- | irc: reconnecting to server...
20:45:59 test2 =!= | irc: unknown address server "test2", cannot connect
20:45:59 test2 -- | irc: reconnecting to server in 5 seconds
20:46:04 test2 -- | irc: reconnecting to server...
20:46:04 test2 =!= | irc: unknown address server "test2", cannot connect
20:46:04 test2 -- | irc: reconnecting to server in 5 seconds
20:46:09 test2 -- | irc: reconnecting to server...
20:46:09 test2 =!= | irc: unknown address server "test2", cannot connect
20:46:09 test2 -- | irc: reconnecting to server in 5 seconds

This is failing because the index is "1" when retrying and it never gets set back to 0.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #26438:  0001-normalise-index-if-the-number-of-addresses-is-reduce.patch added by None (1KiB - text/x-patch - Patch to fix the bug)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by flashcode (Updated the item)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 29 Sep 2012 09:25:45 AM UTCflashcodeOpen/ClosedOpen=>Closed
    Mon 03 Sep 2012 09:01:56 AM UTCflashcodeStatusNone=>Fixed
      Assigned toNone=>flashcode
    Tue 28 Aug 2012 07:49:12 PM UTCNoneAttached File-=>Added 0001-normalise-index-if-the-number-of-addresses-is-reduce.patch, #26438

    Back to the top


    Powered by Savane 3.1-cleanup1