weechat-dev
[Top][All Lists]
Advanced

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

[Weechat-dev] [bug #33592] autojoin (irc.server.xxx.autojoin) strings in


From: anonymous
Subject: [Weechat-dev] [bug #33592] autojoin (irc.server.xxx.autojoin) strings in excess of 500 characters result in resulting JOIN command being truncated.
Date: Sat, 18 Jun 2011 06:32:45 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

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

                 Summary: autojoin (irc.server.xxx.autojoin) strings in excess
of 500 characters result in resulting JOIN command being truncated.
                 Project: WeeChat
            Submitted by: None
            Submitted on: Sat 18 Jun 2011 06:32:44 AM UTC
                Category: irc plugin
                Severity: 3 - Normal
              Item Group: irc protocol
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: J. H. Johnson
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 0.3.5
                IRC nick: trn

    _______________________________________________________

Details:

This might be related #29879, but affecting the server autojoin logic.  If you
define a very long autojoin list of channels which exceeds about 500
characters, the JOIN command is sent as one string, which means the list will
be truncated as it exceeds the maximum length.  The list needs to be broken up
and sent as multiple JOIN commands limited by the maximum length accepted by
the protocol.

For example, if you have a giant list of channels (or channels with long names
and ending with #etc,#blah,#abcd,#efgh,#ijkl,#mnop,#truncate,#many,#more you
might end up with the result of the last channel being joined as #truncat and
the rest of the channels in the list are lost and never autojoined.  

I am working around this by keeping the list under 500 characters and using a
script to join the rest, but this is very much undesirable and not compatible
with scripts like autojoin.py that might create a 700 or 800 character
autojoin string.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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