Shivaram Lingamneni
f77d430d25
use maps.Clone from go1.21
před 10 měsíci
Shivaram Lingamneni
28d9a7ff63
use slices.Contains from go1.21
před 10 měsíci
Shivaram Lingamneni
b3abd0bf1d
use slices.Reverse from go1.21
před 10 měsíci
Shivaram Lingamneni
60af8ee491
clean up force-trailing logic
před 1 rokem
Shivaram Lingamneni
eeec481b8d
tweaks to NAMES implementation (#2058)
* tweaks to NAMES implementation
* tweak member caching
* add a benchmark for NAMES
před 1 rokem
Shivaram Lingamneni
db0910d82d
fix linter error
See #2052
před 1 rokem
Shivaram Lingamneni
3ceff6a8b1
make ReloadableListener lock-free
Also stop attaching the *tls.Config to the wrapped connection,
since this forces it to be retained beyond its natural lifetime.
před 1 rokem
Shivaram Lingamneni
7ce0636276
refactor of channel persistence to use UUIDs
před 1 rokem
Shivaram Lingamneni
a052b82c78
don't reference SIGUSR1 on windows (#2018)
před 1 rokem
Shivaram Lingamneni
d17faf6bcb
fix #1975
Provide a nondestructive stack trace dump option even when the http pprof
listener is disabled
před 1 rokem
Shivaram Lingamneni
e20c983b57
fix #2002 (#2003)
* fix #2002
`CS AMODE #channel +f nickname` is invalid, but was being accepted
incorrectly.
* simplify logic
před 1 rokem
Shivaram Lingamneni
a99c8a42f9
remove utils.ConfigStore in favor of atomic.Pointer[T]
před 1 rokem
Shivaram Lingamneni
5b72cd8622
apply go1.19 gofmt
před 1 rokem
Shivaram Lingamneni
34ad3a2dc1
ConfigStore: clarify intended use
před 2 roky
Shivaram Lingamneni
c603d41d08
genericize atomic config changes
před 2 roky
Shivaram Lingamneni
2df5fb1956
use genericized slice-reversing function
před 2 roky
Shivaram Lingamneni
a549827f17
upgrade to go 1.18, use generics
před 2 roky
Shivaram Lingamneni
4749d7e776
fix #1676, take 2
Ensure the pagination window is full by making sure that every history item
gets a replay line in CHATHISTORY output, even TAGMSG.
před 2 roky
Shivaram Lingamneni
3ec5ffa340
Revert "fix #1676"
This reverts commit 5bbee02fe6 .
před 2 roky
Shivaram Lingamneni
5bbee02fe6
fix #1676
Fix various pagination issues with CHATHISTORY; also undo #491
(msgid munging).
před 2 roky
Shivaram Lingamneni
b0f412538c
move signals code to utils/
před 2 roky
Shivaram Lingamneni
e0e4791f72
factor out some shared code
před 2 roky
Shivaram Lingamneni
492109f29d
upgrade go to 1.17
před 2 roky
Shivaram Lingamneni
5b33cd436f
remove unnecessary indirection in semaphore
před 3 roky
Shivaram Lingamneni
549d06bc98
simplify semaphore release code
před 3 roky
Shivaram Lingamneni
430b40fc2f
upgrade go to 1.16
Fixes #1510
před 3 roky
Shivaram Lingamneni
ec375f5bdc
consolidate ArgsToStrings
před 3 roky
Shivaram Lingamneni
7bdbb01238
fix #1428
Tor listeners should never see an STS cap.
Add an undocumented 'hide-sts' key for listeners that hides the STS cap.
This can be used if the listener is secured at layer 3 or 4 (VPNs,
E2E mixnets). It will be necessary to add the relevant IPs to `secure-nets`.
před 3 roky
Shivaram Lingamneni
ec15d367ba
fix #1387
Instead of building a new serialized message for each recipient,
try to cache them.
před 3 roky
Shivaram Lingamneni
c57828eb62
documentation updates for proxy v2
před 3 roky
Shivaram Lingamneni
3062f97c2b
fix #1389
Support PROXY protocol v2, including ahead of plaintext connections
před 3 roky
Shivaram Lingamneni
dc456bd6a4
refactor schema versions to be ints, not strings
před 3 roky
Shivaram Lingamneni
475d7ba418
fix non-linux builds
před 3 roky
Shivaram Lingamneni
f12384c5a6
Output unix socket credentials where applicable
thanks @ajaspers !
před 3 roky
Shivaram Lingamneni
bcdf61bd7a
fix #1284
před 3 roky
Shivaram Lingamneni
1a9f501383
fix #414
před 3 roky
Shivaram Lingamneni
0073b98505
fix (*http.Server).Serve() exiting on ErrBadProxyLine
anything other than a (net.Error) with Temporary() == true
is treated as a fatal error that causes the http server to exit
před 3 roky
Shivaram Lingamneni
c78253fd93
more memory-efficient implementation of line reading
před 3 roky
Shivaram Lingamneni
df8be72c6f
move StringSet to utils package
před 3 roky
Shivaram Lingamneni
00e2c2816b
use strings.Builder instead of bytes.Buffer where applicable
před 4 roky
Alex Jaspersen
2cb91bab04
Fix issue with one-character args in ArgsToStrings.
před 4 roky
Shivaram Lingamneni
2f20034bb7
fix TAGMSG playback
1. TAGMSG were incorrectly being considered multilines, because
Is512() was checking the wrong thing
2. Playback of TAGMSG should depend on event-playback, not on message-tags
před 4 roky
Shivaram Lingamneni
8efbc4bc32
maintain lenBytes as a running count
před 4 roky
Shivaram Lingamneni
2779fe7c10
fix #1005
před 4 roky
Shivaram Lingamneni
d092f6b330
explanatory comment for CompileMasks
před 4 roky
Shivaram Lingamneni
be0dedf260
fix #1003
před 4 roky
Shivaram Lingamneni
0f7d58b1c5
fix #996
před 4 roky
Shivaram Lingamneni
c92192ef48
review fixes; add submatch support to glob
před 4 roky
Shivaram Lingamneni
3dc5c8de78
more work on websocket support
před 4 roky
Shivaram Lingamneni
2428acab95
enhancements to roleplay
před 4 roky