Yonle
499e765a28
add a way to set user agent
...
Signed-off-by: Yonle <yonle@lecturify.net>
2025-01-06 22:27:40 +07:00
Yonle
d3c73eb05a
moving...
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-08-29 16:45:55 +07:00
Yonle
acad1f68b0
i forgot
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-08-01 16:19:56 +07:00
Yonle
1fe26710d2
exclusively disable compression ONLY for apple
...
Preparing before disaster happens.
See https://github.com/Yonle/bostr2/issues/3
Signed-off-by: Yonle <yonle@lecturify.net>
2024-07-29 19:32:37 +07:00
Yonle
30fd601263
code: use .close() instead of .terminate() & change the name for node module load
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-06-05 19:57:17 +07:00
Yonle
d9d3b784d5
http page: handle x-forwarded-proto properly
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-05-24 13:35:38 +07:00
Yonle
14efdaf830
http & worker: handle max_client_subs properly
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-05-19 23:33:36 +07:00
Yonle
793bd71c66
http page: "mobile bandwidth usage" instead of "mobile data usage". this is minor
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-05-19 23:25:29 +07:00
Yonle
1df2ad13db
config: max_conn_per_ip for limiting maximum incomming connections per IP.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-05-19 23:12:44 +07:00
Yonle
e55cf9025e
http page: Add breakline.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-05-19 22:44:09 +07:00
Yonle
9972bfdc01
http page: add welcome
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-05-19 22:37:02 +07:00
Yonle
5af6d58e21
http page: tell about Administrator contact
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-05-19 22:03:24 +07:00
Yonle
f7cc855fe3
comm: User-Agent: Tell the contact address in User-Agent
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-05-19 22:01:13 +07:00
Yonle
2d5f953d3f
http.js: fix perMessageDeflate websocket compression still enabled
...
despite it's being disabled in config.
Signed-off-by: Yonle <yonle@lecturify.net>
2024-05-16 19:33:09 +07:00
Yonle
34ab5f6013
http.js: fix regex & method of getting websocket URLs from bouncer
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-05-13 16:36:52 +07:00
Yonle
396bd3f7bb
fix code at commit 649c425
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-05-13 07:09:17 +07:00
Yonle
649c425e42
http.js: try fetch loadbalancers relay list
...
Ref: https://github.com/Yonle/bostr/issues/19
Signed-off-by: Yonle <yonle@lecturify.net>
2024-05-13 06:33:56 +07:00
Yonle
5375f98241
http.js: if there's no config.perMessageDeflate, default it to true
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-05-12 10:02:31 +07:00
Yonle
6bf93d5be6
connections: try not use noDelay & allowSynchronousEvents
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-05-11 10:30:08 +07:00
Yonle
4923d263f2
code cleaning and features removal
...
The following configurations is removed due to flawed memory issues:
- broadcast_ratelimit
- incomming_ratelimit
Signed-off-by: Yonle <yonle@lecturify.net>
2024-05-11 10:19:27 +07:00
Yonle
f6baf0c53b
bouncer: split code into two separate processes with upstream comms to be a worker
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-05-10 13:18:05 +07:00
Yonle
06609b4370
statistic: oops.
2024-04-06 14:44:16 +07:00
Yonle
9621855efb
statistic: make the legend description a bit clear
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-04-06 14:40:31 +07:00
Yonle
7417f23fd5
statistic: add raw_rx
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-04-06 14:38:06 +07:00
Yonle
7dc735171b
http: make it a bit understandable
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-04-05 10:35:00 +07:00
Yonle
63a404d3ae
feat: add bouncer statistics
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-04-04 21:33:11 +07:00
Yonle
399bd18d55
it's rather "May consume lot of bandwidths" than it begin with "Will"
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-25 00:48:55 +07:00
Yonle
84b0421f4c
http&bouncer: connection configured save mode
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-25 00:23:09 +07:00
Yonle
7293893ab4
http&bouncer: connection configured accurateMode
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-24 12:23:55 +07:00
Yonle
aa2084d6b9
bouncer: a feature to override client limit
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-23 13:11:00 +07:00
Yonle
9e2989c529
introducing: bostr cli
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-19 18:37:50 +07:00
Yonle
c66d158a76
config&http: allow blocking websocket connections from the specified hosts
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-18 20:07:46 +07:00
Yonle
e97c9c0380
http: ANOTHER wording
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-18 19:20:13 +07:00
Yonle
fc3b329b94
http.js: another wordings.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-18 19:18:12 +07:00
Yonle
f28efc87fe
http.js: probably some wordings.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-18 19:13:41 +07:00
Yonle
3cc41c47c2
http: no need to provide that long ass example. non-distraction one is fair enough.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-18 12:07:08 +07:00
Yonle
b8e93b395d
http: favicon.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-18 11:47:49 +07:00
Yonle
743977a82e
bouncer: filter in bouncer to handle filters, Manually.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-18 11:25:33 +07:00
Yonle
67e44ffb84
http&bouncer: enable synchronousEvents & deflate compression by default.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-01-27 19:42:18 +07:00
Yonle
c356fbfcf7
make socket termination faster and fix handling onClose
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-01-23 22:49:43 +07:00
Yonle
9ed79a0892
fix strict syntax on http.js
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-01-23 21:25:56 +07:00
Yonle
ec773eebe4
use strict, reveal bostr version in user agent
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-01-23 21:21:46 +07:00
Yonle
120198d195
code improvement after PR #11
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-01-13 18:53:59 +07:00
Takuro Fukuda
7970d00132
Standalone HTTPS support ( #11 )
2024-01-13 18:36:24 +07:00
Yonle
94d0e10eb2
http.js: Tell explicitly whenever client was connecting with https or http.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-01-09 23:26:18 +07:00
Yonle
8863a73c65
http: favicon support.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2024-01-09 06:58:27 +07:00
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