Commit graph

95 commits

Author SHA1 Message Date
WeidiDeng
9c191f5301
migrate from http.Flusher to http.NewResponseController 2024-01-17 16:44:03 +08:00
Juan Calderon-Perez
2f2742b226
Bump github-actions 2024-01-09 00:13:10 -05:00
Juan Calderon-Perez
31f01c98ca
Merge pull request #99 from Mygod/v2multiauth
Fix multiauth for caddy2
2023-11-05 14:50:54 -05:00
Mygod
5b0898c8e8 Remove useless field 2023-11-05 10:04:09 -05:00
Mygod
226c444d94 Remove duplicate code 2023-11-05 10:01:10 -05:00
Mygod
9976c57edb Oops 2023-11-02 15:03:05 -04:00
Mygod
611a43963a Fix encoded len 2023-11-02 14:57:39 -04:00
Mygod
cd93f0ed51 Fix upstream creds in test 2023-11-02 14:55:11 -04:00
Mygod
397bfdf7c1 Merge remote-tracking branch 'origin/caddy2' into v2multiauth 2023-10-29 16:49:27 -04:00
Juan Calderon-Perez
9de71886ab
Fix arg to golangci-lint 2023-10-29 14:25:03 -04:00
Juan Calderon-Perez
fd47e413d5 Increase golangci-lint timeout to 5min 2023-10-29 14:22:09 -04:00
Juan Calderon-Perez
acd1337982 Update golang.org/x/net 2023-10-29 14:19:49 -04:00
Juan Calderon-Perez
2ae345ad70 Cleanup go.sum file 2023-10-29 14:13:51 -04:00
Juan Calderon-Perez
65d059053b
Merge pull request #109 from johnzhanghua/caddy2_fix_tests
Caddy2 fix tests
2023-10-29 14:11:16 -04:00
johnzhanghua
5b6051e578 fix probe_resist_test.go test cases, the repose header['Alt-Svc'] is different from different server
Signed-off-by: johnzhanghua <johnzhanghua@gmail.com>
2023-09-26 11:32:22 +10:00
johnzhanghua
71e3f6ebe4 fix acl_test.go test cases, restore the acl error logic to be the same as before
Signed-off-by: johnzhanghua <johnzhanghua@gmail.com>
2023-09-26 11:32:21 +10:00
Juan Calderon-Perez
d7ab126b73 Update Caddy to v2.7.1 2023-08-02 22:43:35 -04:00
Mygod
6a4bb51efc Refine error user 2023-07-21 13:57:26 -04:00
Mygod
4e71e857d9 Log invalid user as well 2023-07-19 23:43:13 -04:00
Mygod
a29f011386 Merge branch 'caddy2' into v2multiauth 2023-07-19 13:33:38 -04:00
Juan Calderon-Perez
2e45608855 Remove go vet 2023-06-26 23:48:14 -04:00
Juan Calderon-Perez
b6d4eb85cd More linter fixes 2023-06-26 23:43:13 -04:00
Juan Calderon-Perez
3a10a41c32 Add more workflows, fix warnings from several linters 2023-06-26 23:35:38 -04:00
Juan Calderon-Perez
0d92f63230 Downgrade qtls-go to v0.2.2 2023-06-25 11:52:47 -04:00
Juan Calderon-Perez
da96a33f48 Fix some of the gosec/golangci-lint issues 2023-06-25 00:50:44 -04:00
Juan Calderon-Perez
5b23d1a2af Remove oldstable from matrix and platforms until tests are stable. 2023-06-25 00:08:25 -04:00
Juan Calderon-Perez
df7dc9533d Update dependencies, add support for Github Actions. Formatting and lint fixes 2023-06-25 00:03:20 -04:00
Mygod
8b5d75a979
Buffer http response instead of writing directly (#106) 2023-05-28 23:42:55 -06:00
Matthew Holt
685d1d0d78
Update dependencies 2023-05-09 13:19:35 -06:00
Matthew Holt
0ea925feff
Start to update README for Caddy 2 2023-05-09 13:19:19 -06:00
Mygod
035199efd1 Add support for printing user id in log 2023-04-27 22:01:42 -04:00
Mygod
51a9bb545b Remove useless fields 2023-04-26 16:42:19 -04:00
Mygod
44bd8c758f Fix multiauth 2023-04-26 16:35:55 -04:00
Juan Calderon-Perez
a7059fa9b0
Merge branch 'master' into caddy2 2023-03-22 08:46:55 -04:00
rentiansheng
8c6ef2bd4a
doc: update readme (#88)
change language to english
2021-10-12 21:46:47 -06:00
klzgrad
7b288bc317
Support HTTP/3 (#80) 2021-06-07 12:06:42 -06:00
Matthew Holt
6d9747a3f1
Fix tls setup code in tests 2021-03-01 13:30:26 -07:00
Sergey Frolov
1e6dbb151c Remove localDialAddr 2021-02-28 16:35:26 -07:00
Sergey Frolov
2a9402b786 Fix TestWhitelistAllowing 2021-02-28 16:16:35 -07:00
Sergey Frolov
75511e6fbe Remove dialLocal 2021-02-28 15:04:44 -07:00
Matthew Holt
84f6867cde
Minor cleanups and tidying 2021-02-24 13:25:55 -07:00
Matthew Holt
509e7ecf8a
Finish updating tests for now 2021-02-08 15:12:37 -07:00
Matthew Holt
9fe12929b4
Run gofmt 2020-12-05 19:07:47 -07:00
Matthew Holt
9bab45d9d1
Merge branch 'master' into caddy2 2020-12-05 19:05:09 -07:00
Sergey Frolov
b3a96fb34d
Golang 1.15 support (#83)
* CI: bump Golang version to 1.15
* Update quic-go mod and it's dependencies
2020-12-05 02:10:08 -07:00
Sergey Frolov
87f2f2ffe0
Fix Probe Resist tests' output 2020-12-04 19:11:43 -07:00
Sergey Frolov
0c30e89e19
TestConnectAuthWrongProbeResist: add debug print 2020-12-04 19:07:04 -07:00
Sergey Frolov
ebb2fce603
revert TestConnectAuthWrongProbeResist
responseProbeResist and responseForwardProxy must be different
2020-12-04 19:00:31 -07:00
Matthew Holt
7b5b582619
General cleanup 2020-12-04 10:15:42 -07:00
klzgrad
8d6f47b4c4
Support v2 Caddyfile (#79)
* Fix probe_resistance config parsing

* Support Caddyfile

* Support HTTP/3

* Revert "Support HTTP/3"

This reverts commit f01c163ad5145cdb0a0756345a259310b2cd50aa.

* Fix review comments

* Update README.md to new directive names

* Use Caddy 2 logger
2020-10-01 21:14:08 -06:00