Loyalsoldier
f94dd11a8c
Chore: change module name ( #677 )
2021-02-17 04:31:50 +08:00
Loyalsoldier
8cb2db5321
Fix: security issues & overflow potentiality ( #465 )
2020-11-28 21:56:20 +08:00
Kirill Motkov
0401a91ef4
Some code improvements
...
* Rewrite empty string checks more idiomatically.
* Change strings.ToLower comparisons to strings.EqualFold.
* Rewrite switch statement with only one case as if.
2019-06-28 17:53:44 +03:00
Darien Raymond
4d23411d80
comments
2019-02-23 00:29:09 +01:00
Darien Raymond
7e37d141e2
move parseHost to http protocol
2018-12-10 23:08:16 +01:00
Darien Raymond
1f226797bc
remove header operation to http protocol package
2017-12-18 20:59:43 +01:00
Darien Raymond
91ca88bcff
read original addr from x-forwarded-for header if present
2017-12-18 20:34:00 +01:00