Commit graph

19 commits

Author SHA1 Message Date
6543
8519bba527
tryUpstream always use targetOpt generated by tryBranch 2022-11-12 19:11:19 +01:00
6543
658de3956e
sort import 2022-11-12 14:10:04 +01:00
6543
f13feec8bf
unwind tryBranch into own func 2022-11-12 02:54:56 +01:00
6543
6bc79e5ebf
wip 2022-11-11 19:03:17 +01:00
6543
7526873049 [std-http] fix-header (#134)
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/134
2022-11-11 06:38:09 +01:00
6543
16a8d5d575
REMOVE fasthttp version 2022-08-28 20:54:17 +02:00
6543
51ca74fc11
more string 2022-08-28 16:21:37 +02:00
6543
e1c78d6069
Merge branch 'main' into std-http 2022-08-28 14:35:27 +02:00
Gusted
876a53d9a2 Improve logging (#116)
- Actually log useful information at their respective log level.
- Add logs in hot-paths to be able to deep-dive and debug specific requests (see server/handler.go)
- Add more information to existing fields(e.g. the host that the user is visiting, this was noted by @fnetX).

Co-authored-by: Gusted <williamzijl7@hotmail.com>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/116
Reviewed-by: 6543 <6543@noreply.codeberg.org>
Co-authored-by: Gusted <gusted@noreply.codeberg.org>
Co-committed-by: Gusted <gusted@noreply.codeberg.org>
2022-08-12 05:06:26 +02:00
6543
6fd9cbfafb
rm cache from fasthttp 2022-07-27 17:25:08 +02:00
6543
33298aa8ff
fasthttp 2022-07-27 15:48:48 +02:00
6543
a8afb372dd
more caching in-client 2022-07-27 15:39:46 +02:00
6543
6f56fa97a1
start ... 2022-07-15 18:10:41 +02:00
6543
02bd942b04 Move gitea api calls in own "client" package (#78)
continue #75
close #16
- fix regression (from #34) _thanks to @crystal_
- create own gitea client package
- more logging
- add mock impl of CertDB

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: crystal <crystal@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/78
Reviewed-by: crapStone <crapstone@noreply.codeberg.org>
2022-06-11 23:02:06 +02:00
6543
f5d0dc7447 Add pipeline (#65)
close #54

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/65
Reviewed-by: Andreas Shimokawa <ashimokawa@noreply.codeberg.org>
2022-03-27 21:54:06 +02:00
6543
6af6523a0f
code format 2021-12-09 20:16:43 +01:00
6543
70c7065f76
fix #31 2021-12-09 19:32:30 +01:00
6543
a7bb3448a4
move more args of Upstream() to upstream Options 2021-12-05 19:53:23 +01:00
6543
0374e95d23
make tryUpstream independent func 2021-12-05 18:20:39 +01:00