Mike Dilger
70a4f91877
v1.5.3
v1.5.3
2024-11-16 10:10:31 +13:00
Mike Dilger
94ad17fcc3
Use a streaming BoxedBody
2024-11-16 10:00:21 +13:00
Mike Dilger
98c5b1fd94
cargo update (with some version bumps)
2024-11-16 10:00:07 +13:00
Mike Dilger
181750cb90
Add optional icon for NIP-11
2024-11-05 10:10:40 +13:00
Mike Dilger
006ecadf9c
Add more statistics
2024-10-26 07:39:09 +13:00
Mike Dilger
6d7d3f4afe
update docs
2024-10-25 10:28:32 +13:00
Mike Dilger
2794515ab7
bin: chorus_cmd
2024-10-25 10:21:32 +13:00
Mike Dilger
42a0f0136b
cargo fmt
2024-10-25 10:21:26 +13:00
Mike Dilger
f06073278c
Don't require moderation on reactions
2024-10-05 11:41:09 +13:00
Mike Dilger
8acec44808
Merge remote-tracking branch 'github/master'
2024-09-21 13:58:14 +12:00
Michael Dilger
0f75ccfb9c
Merge pull request #29 from tealeaf-dot-dev/rename-nginx-config
...
Rename chorus.nginx.com to chorus.nginx.conf per the docs
2024-09-21 01:57:43 +00:00
tf
3dbf6f0f76
Rename chorus.nginx.com to chorus.nginx.conf per the docs
2024-09-21 02:48:17 +08:00
Mike Dilger
9d0df10d23
honor enable_ip_blocking = false
2024-09-10 14:57:33 +12:00
Mike Dilger
cfeb8c03e8
Update dependencies
2024-09-10 08:51:23 +12:00
Mike Dilger
043b72d093
Update deps (including bugfix in pocket)
2024-09-10 08:48:46 +12:00
Mike Dilger
d258dd4110
Don't require approval on kinds 0 and 3
2024-08-22 07:01:22 +12:00
Mike Dilger
4d300eb12a
Dont drop half of the TCP stream before dropping the whole thing
2024-07-31 07:48:13 +12:00
Mike Dilger
d8689540d8
v1.5.2
v1.5.2
2024-07-31 07:40:36 +12:00
Mike Dilger
c00ce733bb
cargo update
2024-07-31 07:40:22 +12:00
Mike Dilger
df69a54adf
Honor Sec-WebSocket-Protocol:
...
- If it is missing, we speak nostr and we don't return it
- If it exists and contains "nostr", we speak nostr and we return it
- If it exists and doesn't contain "nostr" we throw a 501 NOT IMPLEMENTED StatusCode
2024-07-15 10:31:20 +12:00
Mike Dilger
e9d743b407
Depend on http explicitly
2024-07-15 10:31:12 +12:00
Mike Dilger
3f5600638b
Increase default rate limits to 1MB per second, 16MB burst
2024-07-14 12:42:31 +12:00
Mike Dilger
1f1a74e442
Enforce throtting on output
2024-07-14 12:42:31 +12:00
Mike Dilger
7a1b8e7ec5
Throttling: also consume burst_tokens with output bytes sent
2024-07-14 12:09:39 +12:00
Mike Dilger
a041896336
Some updates to README.md
2024-07-14 11:42:31 +12:00
Mike Dilger
94b7dfa57a
distinguish RateLimitExceeded error from ErrorClose
2024-07-14 11:40:20 +12:00
Mike Dilger
bf87d53e01
Throtting by rate limiting the input (defaults are still very speculative, output not rate limited)
2024-07-14 11:40:08 +12:00
Mike Dilger
e3ec1cac57
When shutting down, wait no more than 5 seconds for connections to close
2024-07-14 10:28:15 +12:00
Mike Dilger
d1333bfe82
update README.md for v1.5.1 changes
2024-07-14 10:08:03 +12:00
Mike Dilger
c9c7131154
v1.5.1
v1.5.1
2024-07-14 10:04:04 +12:00
Mike Dilger
44600603c8
cargo update
2024-07-14 10:03:33 +12:00
Mike Dilger
5711ca3503
Punish parse errors (else you can get DoS)
2024-07-14 10:00:49 +12:00
Mike Dilger
2cb6148dce
Bugfix
2024-07-14 09:57:58 +12:00
Mike Dilger
4d64a45a38
doc updates
2024-07-13 15:28:13 +12:00
Mike Dilger
4dbcbc04c3
Fix 1.4.0 changelog with enable_ip_blocking config var
2024-07-13 14:53:09 +12:00
Mike Dilger
d790dcdf3f
add git commit for 1.5.0 to README.md
2024-07-13 14:44:59 +12:00
Mike Dilger
870e470d7a
v1.5.0
v1.5.0
2024-07-13 14:44:25 +12:00
Mike Dilger
731b6d7410
Update README for changes in 1.4.0 (belated) and suggest use of new 'latest' branch
2024-07-13 14:30:45 +12:00
Mike Dilger
c1ee86f4df
Pull the websocket thread code into a separate function
2024-07-13 13:03:41 +12:00
Mike Dilger
ad7e70e3a0
Revert "Manipulate connection counts in a safer way (include HTTP connections too)"
...
This reverts commit 7ad5fb3e157b63d17d098691793460c05493e1d5.
2024-07-13 12:55:45 +12:00
Mike Dilger
5f33e21967
Revert "Maybe fix the zeroes?"
...
This reverts commit 051a81febd25f78f79e7609b0f5a7d1ca99a016a.
2024-07-13 12:55:39 +12:00
Mike Dilger
051a81febd
Maybe fix the zeroes?
2024-07-13 12:51:27 +12:00
Mike Dilger
7ad5fb3e15
Manipulate connection counts in a safer way (include HTTP connections too)
2024-07-13 12:36:09 +12:00
Mike Dilger
a76be24d68
Fix proxy setups (ip blocking, real IP); needs new chorus_is_behind_a_proxy config
2024-07-13 12:11:26 +12:00
Mike Dilger
37b1b3a0f3
Possible stream shutdown improvement
2024-07-13 11:13:46 +12:00
Mike Dilger
633bb82899
Stop supporting TCP half_close (this might be the thing leaving hanging connections)
2024-07-13 10:22:55 +12:00
Mike Dilger
227a104e0f
bump max connections per ip default to 5
2024-07-12 11:38:44 +12:00
Mike Dilger
3820813393
relay management auth doesn't need a method check anymore
2024-07-11 17:18:30 +12:00
Mike Dilger
1fde129c05
cargo clippy & fmt
2024-07-11 17:12:46 +12:00
Mike Dilger
e57167dd05
Swallow mild IO errors inside of Tungstenite errors
2024-07-11 17:07:34 +12:00