mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
add an explanatory comment
This commit is contained in:
parent
a4f9e08a85
commit
21e604860f
1 changed files with 4 additions and 0 deletions
|
|
@ -50,6 +50,10 @@ const (
|
|||
// this happens-before all IRC connections and all casefolding operations.
|
||||
var globalCasemappingSetting Casemapping = CasemappingPRECIS
|
||||
|
||||
// XXX analogous unsynchronized global variable controlling utf8 validation
|
||||
// if this is off, you get the traditional IRC behavior (relaying any valid RFC1459
|
||||
// octets) and invalid utf8 messages are silently dropped for websocket clients only.
|
||||
// if this is on, invalid utf8 inputs get an ERR_UNKNOWNERROR.
|
||||
var globalUtf8EnforcementSetting bool
|
||||
|
||||
// Each pass of PRECIS casefolding is a composition of idempotent operations,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue