Yonle
224bf54133
log with user-agent.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-01-04 23:51:46 +07:00
Yonle
e35b1ac584
autoclear lastConn
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-01-04 22:15:50 +07:00
Yonle
5ba3980a9e
feat: broadcast_ratelimit & incomming_ratelimit
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-01-04 22:06:32 +07:00
Yonle
8b955f121f
socket: use nodelay
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-01-04 13:36:14 +07:00
Yonle
403c51c9ee
Release: 2.0.2
...
Fast connect and disconnecting is brutal sometime.
What's new?
===========
- An whitelist to only allow some event authors to be published with
this bouncer.
- Orphan sockets feature to make stuff fast & not so easy to abuse,
therefore reducing the amount of reconnects.
New Contributors
================
- Takuro Fukuda https://github.com/ftkro
Full Changelog: https://github.com/Yonle/bostr/compare/2.0.1...2.0.2
Signed-off-by: Yonle <yonle@lecturify.net>
2024-01-03 17:32:10 +07:00
Yonle
2d73575375
http.js: probably need to tell the current path.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-21 15:15:11 +07:00
Yonle
0f76628728
remove mode 1, and sqlite3 no longer needed
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-18 16:53:48 +07:00
Yonle
dd1da10b8a
introduce nip42 and public/personal usage
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-16 21:53:58 +07:00
Yonle
7d6e2018e3
http: give content-type to client
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-13 18:35:50 +07:00
Yonle
22c42a3857
Make NIP-11 work by adding Access-Control-Allow-Origin
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-13 18:32:29 +07:00
Yonle
297516d595
run in cluster? tell eberiwan
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-10-31 20:09:03 +07:00
Yonle
0e7f9f0706
run in cluster? tell eberiwan
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-10-31 20:08:28 +07:00
Yonle
16b22e863a
it's rather an clients than users.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-10-31 20:03:19 +07:00
Yonle
a9f6f79f49
There you go, The currently connected user numbers
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-10-31 20:01:22 +07:00
Yonle
181840d045
redone log for websocket users
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-10-31 19:53:09 +07:00
Yonle
6d5e690269
Holy shit http.js is left alone :((((
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-10-31 14:02:14 +07:00