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 plugin Severity:  3 - Normal
Item Group:  other Status:  Fixed
Privacy:  Public Assigned to:  Sebastien Helleu <flashcode>
Originator Name:  Simon Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  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 Files:
   
   
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
  • -email is unavailable- added by flashcode (Updated the item)
  • -email is unavailable- added by None (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-09-29 flashcode Open/ClosedOpen => Closed
    2012-09-03 flashcode StatusNone => Fixed
        Assigned toNone => flashcode
    2012-08-28 None Attached File- => Added 0001-normalise-index-if-the-number-of-addresses-is-reduce.patch, #26438

    Back to the top


    Powered by Savane 3.5