Commit graph

208 commits

Author SHA1 Message Date
Haowei Wen
61b787aa4d
nanohttpd: refactor: remove Response.newFixedLength(String) 2020-08-26 20:15:27 +08:00
Haowei Wen
514f2829e2
nanohttpd: refactor: simplify keep-alive check 2020-08-26 20:15:27 +08:00
Haowei Wen
f84afc976e
nanohttpd: refactor: add missing this. 2020-08-26 20:15:27 +08:00
Haowei Wen
e56a68ecc3
nanohttpd: refactor: AsyncRunner: use concurrent data structures 2020-08-26 20:15:19 +08:00
Haowei Wen
bac4022ada
nanohttpd: refactor: add ConnectionCloseException to signal connection closes normally 2020-08-26 20:04:34 +08:00
Haowei Wen
e88f1eb009
nanohttpd: refactor: remove Response.lowerCaseHeader 2020-08-26 20:03:35 +08:00
Haowei Wen
f0e635bff3
nanohttpd: refactor: move HTTPSession to a new file 2020-08-26 19:34:58 +08:00
Haowei Wen
d2ee1cb282
nanohttpd: refactor: extract HTTPSession.readHeader() 2020-08-26 19:31:33 +08:00
Haowei Wen
854b0284bd
nanohttpd: refactor: remove IHTTPSession.execute() 2020-08-26 19:31:32 +08:00
Haowei Wen
5ca213f5cc
nanohttpd: refactor: replace remoteIpAddress & remoteHostName with remoteAddress 2020-08-26 19:31:11 +08:00
Haowei Wen
665a400f04
httpd: fix reverse proxy can't handle 204 properly 2020-08-26 18:23:07 +08:00
Haowei Wen
86feaa3273
nanohttpd: fix npe introduced in 2df9dde936 2020-08-26 15:23:03 +08:00
Haowei Wen
2df9dde936
nanohttpd: refactor x2 2020-08-26 00:35:22 +08:00
Haowei Wen
05f61d92c6
nanohttpd: refactor 2020-08-26 00:27:46 +08:00
Haowei Wen
d72035a066
nanohttpd: reset parsedInputStream & continueSent between requests
fix #83

bug description:
if tcp keep-available is on, after processing a POST request,
parsedInputStream's value is retained. if the next request is a
GET request, HttpSession.getInputStream() will not return null
as expected.
2020-08-25 23:30:32 +08:00
Haowei Wen
3d3dd29f33
update download site 2020-08-23 16:06:57 +08:00
yushijinhun
244fe2e969
logging: remove control characters to prevent messing up the console 2020-08-23 01:50:43 +08:00
yushijinhun
e913d7d4d4
fix #81 2020-08-23 00:18:51 +08:00
yushijinhun
14741ad521
prevent logging output being redirected 2020-08-22 22:40:40 +08:00
yushijinhun
9b2075775e
add options for mojang namespace & legacy skin api polyfill
- add option: -Dauthlibinjector.mojangNamespace={default|enabled|disabled}
- add option: -Dauthlibinjector.legacySkinPolyfill={default|enabled|disabled}
- add metadata field: feature.no_mojang_namespace
- update options doc
2020-08-22 19:16:07 +08:00
yushijinhun
20224ede05
remove 'path' param from URLFilter.canHandle 2020-08-22 16:37:42 +08:00
yushijinhun
1ba5bbb678
refactor
YggdrasilConfiguration -> APIMetadata
InjectorInitializationException -> InitializationException
javaagent/AuthlibInjectorPremain -> Premain
2020-08-22 16:26:22 +08:00
yushijinhun
496baee488
refactor config & logging
replaced java.logging, fixed #80

deprecated options:
-Dauthlibinjector.debug=all => -Dauthlibinjector.debug
-Dauthlibinjector.mojang.proxy= => -Dauthlibinjector.mojangProxy=
2020-08-22 02:24:37 +08:00
yushijinhun
9c115558d5
update build dependencies 2020-08-14 20:51:39 +08:00
yushijinhun
3ce68a3db2
update copyright year
forgotten in 0bd7134c81
2020-08-14 20:40:18 +08:00
yushijinhun
d3da27444c
Use keep-available when processing ALI 2020-08-13 21:30:43 +08:00
yushijinhun
059dc2641d
Remove ExecutionEnvironment & authlibinjector.side
'authlibinjector.side' option becomes unnecessary now.
This commit discards 'authlibinjector.side' option defined in proposal #16.
2020-08-13 20:50:14 +08:00
yushijinhun
b12dd75fa5
Forbid multiple ALI redirects (#78) 2020-08-13 20:49:47 +08:00
yushijinhun
0bd7134c81
Support HTTP redirects, fix #77 2020-08-12 19:33:06 +08:00
yushijinhun
b4f571a88d
Update copyright years
I forgot to update this in e305dea256.

Commit message of e305dea256
shoud be `fix '@mojang' suffix broken since authlib 1.6.25`.
I can't amend this typo because force push is disabled.
2020-08-10 01:46:50 +08:00
yushijinhun
e305dea256
fix '@mojang' suffix broken since authlib 1.5.23
fix #76
2020-08-07 16:43:29 +08:00
yushijinhun
0341ee107c
completely switch to github actions 2020-06-20 21:47:06 +08:00
yushijinhun
9cfcb49e41
[actions] minor fix 2020-05-01 21:30:38 +08:00
Haowei Wen
3510ca4c3a
Introducing GitHub Actions 2020-05-01 21:23:27 +08:00
yushijinhun
b9a0a3f996
Remove license check plugin 2020-05-01 21:12:23 +08:00
yushijinhun
d05c005b39
Reimplement signing key injection 2020-05-01 00:47:52 +08:00
yushijinhun
71913d41ab
Put invokedynamic bootstrap method in target class 2020-04-30 00:19:18 +08:00
yushijinhun
106e13b17f
Revert "Add classloader exclusion to launchwrapper (#68)"
This reverts commit 2ac95074a6.
2020-04-29 23:34:12 +08:00
yushijinhun
d3fa2a77eb
Refactor packages & classes structure 2020-04-29 23:30:23 +08:00
Haowei Wen
2ac95074a6
Add classloader exclusion to launchwrapper (#68) 2020-04-29 01:35:27 +08:00
yushijinhun
57050286ff
Bump asm to 8.0.1 & update dev dependencies 2020-04-29 00:27:00 +08:00
Haowei Wen
a699f5acf2
Create CONTRIBUTING.md 2020-04-13 00:04:05 +08:00
Haowei Wen
bc2a251dca
Update copyright year 2020-04-10 23:06:14 +08:00
Alexander Xia
0da4d5a1b6
Fix wiki url in readme 2020-04-10 20:01:01 +08:00
Alexander Xia
59083e83ce
Fix compatibility with authlib 1.6.25 2020-04-10 19:40:02 +08:00
Hai-tun
af9e793db3
Allow specifying packages to ignore (#63)
* Add parameter: authlibinjector.ignoredPackages

Co-authored-by: yushijinhun <yushijinhun@gmail.com>
2020-04-07 21:29:02 +08:00
yushijinhun
22b8d11f4e
English readme 2019-02-24 21:55:39 +08:00
yushijinhun
fa3b173920
update readme 2019-02-06 09:57:09 +08:00
Haowei Wen
a006e784e7
Merge pull request #42 from yushijinhun/mojang-proxy
实现 #41
2019-02-05 22:23:37 +08:00
yushijinhun
e8a13e7ae2
Allow accessing Mojang with proxy
Implement #41
2019-02-05 16:31:49 +08:00