View Issue Details

IDProjectCategoryView StatusLast Update
0002614unrealircdpublic2007-04-27 05:05
ReporterStealth Assigned To 
PrioritynormalSeveritytweakReproducibilityN/A
Status closedResolutionno change required 
Product Version3.2.3 
Summary0002614: Away message length
DescriptionAfter some playing around I had noticed the away message length is 307 characters, which is the same as TOPICLEN. After discussing this in #Unreal-Support with Stskeeps, I found that the away message length can be up to 378 characters before reaching the 512 limit.

This is based on:
512 - HOSTLEN - numeric - NICKLENx2 - 6 (spaces and :'s) - CRLF = 378

This is based on the RPL_AWAY numeric, which seems to be the numeric that sends the most data dealing with away messages.
3rd party modules

Activities

aquanight

2005-08-08 19:24

reporter   ~0010321

There's also the server-to-server format. But that's:

: + <NICKLEN> + <space> + AWAY + <space>: + <message>
1 + 30 + 1 + 4 + 2 = 38

512 - 38 = 474.

So yeah, RPL_AWAY has the most "non-message" material.

codemastr

2005-08-15 14:39

reporter   ~0010336

Who said it is limited to 307 for technical reasons? I never did.

stskeeps

2007-04-27 05:05

reporter   ~0013804

307 is fine.

Issue History

Date Modified Username Field Change
2005-08-07 17:50 Stealth New Issue
2005-08-08 19:24 aquanight Note Added: 0010321
2005-08-15 14:39 codemastr Note Added: 0010336
2007-04-27 05:05 stskeeps Status new => closed
2007-04-27 05:05 stskeeps Note Added: 0013804
2007-04-27 05:05 stskeeps Resolution open => no change required