Yonle
5df8ddda91
b2: fix crash when client disconnected
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-06 13:03:46 +07:00
Yonle
0bb168e777
oops
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-03 17:22:43 +07:00
Yonle
4cdeec40b6
fix the improvement for pendingEOSE in mode 2
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-03 17:19:37 +07:00
Yonle
9a4ea6ab20
improve pendingEOSE (commitdesc. avail.)
...
Normally, If it receives the first EOSE from one of existing relays, It
will forward the EOSE to client and "that's it", it ignores the further
EOSE messages. However, as the result, This confuses some nostr client
as it expects EOSE as "oh, that's the only events that i got", and there
we go something broke apart.
This commit, should fix at some cases, Especially for the one with NIP-50 supported relays (searching, etc)
Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-03 16:59:23 +07:00
Yonle
4699ba1b48
fix major bug
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-02 22:06:25 +07:00
Yonle
bd19d934a5
Implement pendingEOSE and dich the instant EOSE
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-01 22:20:21 +07:00
Yonle
ea06487f94
add log_about_relays into config.js
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-01 19:54:03 +07:00
Yonle
292354813c
bouncer2: no need to send CLOSE to relays after client disconnected.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-11-01 15:17:39 +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
1021040fc1
make le log cleaner
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-10-31 19:50:19 +07:00
Yonle
4d728ba8f9
Just a small log fix
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-10-31 19:49:15 +07:00
Yonle
973dbf4cf4
add tmp_store option in config.js
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-10-31 17:28:44 +07:00
Yonle
b06f29da5b
fix bug for mode 2 and remove unused code
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-10-31 15:52:07 +07:00
Yonle
2611654775
bouncer1: fixbug
2023-10-31 15:36:01 +07:00
Yonle
4fa2811eff
bouncer1: fixbug
2023-10-31 15:35:26 +07:00
Yonle
1cfe76269c
Fix bug for resub function
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-10-31 15:22:39 +07:00
Yonle
8370bf2cd7
fix [relays: Re-sub after reconnect]
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-10-31 15:15:00 +07:00
Yonle
1776c4c888
relays: Re-sub after reconnect
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-10-31 15:14:02 +07:00
Yonle
1db4951395
allow for setting number of clusters via config.js
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-10-31 14:16:43 +07:00
Yonle
94af76f8dc
Introduce bouncing mode 2.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-10-31 14:00:16 +07:00