weechat-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [bug #37215] Bug handling addresses when reconfiguring to


From: anonymous
Subject: [Weechat-dev] [bug #37215] Bug handling addresses when reconfiguring to fewer address
Date: Tue, 28 Aug 2012 19:49:13 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0

URL:
  <http://savannah.nongnu.org/bugs/?37215>

                 Summary: Bug handling addresses when reconfiguring to fewer
address
                 Project: WeeChat
            Submitted by: None
            Submitted on: Tue 28 Aug 2012 19:49:12 UTC
                Category: irc plugin
                Severity: 3 - Normal
              Item Group: other
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Simon
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 0.3.8
                IRC nick: 

    _______________________________________________________

Details:

/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 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 www.weechat.org/6667
20:45:44   test2  -- | irc: connecting to server 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.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 28 Aug 2012 19:49:12 UTC  Name:
0001-normalise-index-if-the-number-of-addresses-is-reduce.patch  Size: 1kB  
By: None
Patch to fix the bug
<http://savannah.nongnu.org/bugs/download.php?file_id=26438>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?37215>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]