Shivaram Lingamneni
d082ec7ab9
don't send multiline responses to CAP LS 301 (#2068)
* don't send multiline responses to CAP LS 301
This is more or less explicitly prohibited by the spec:
https://ircv3.net/specs/extensions/capability-negotiation.html#multiline-replies-to-cap-ls-and-cap-list
* switch to whitelist model to be future-proof
* bump irctest to include test
* add a unit test
1 year ago
Shivaram Lingamneni
20aaa1ab06
fix #1259
3 years ago
Shivaram Lingamneni
ae9aecbbb0
increase max cap line length
Workaround for #661 : this makes the `CAP LS 302` line from the default config
fit on a single line, as long as the server name is at most 35 characters.
4 years ago
Shivaram Lingamneni
3cb9234bb5
review fixes
4 years ago
Shivaram Lingamneni
7ed27d4a42
Fix #448, #594
5 years ago
Shivaram Lingamneni
f48af3ee44
correctly support disabling caps with CAP REQ, fixes #337
5 years ago
Shivaram Lingamneni
2a33c1483b
atomic bitset implementations of caps.Set and modes.ModeSet
6 years ago
Shivaram Lingamneni
cdbb369a9c
add benchmarks for caps.Set
6 years ago
Daniel Oaks
a90ee16a20
caps: Test Add, Remove and String
6 years ago
Daniel Oaks
378d55af65
Add tests to subpackages
6 years ago