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
66a60dbfa3
remove dep on assert lib
2019-02-03 19:46:53 +01:00
Darien Raymond
bdd71a44b4
remove dep on assert lib
2019-02-02 22:19:30 +01:00
Darien Raymond
372da062d4
fix build break
2018-12-10 23:34:54 +01:00
Victoria Raymond
ce412aec65
Merge branch 'master' into fix-sniff-http-ipv6
2018-12-10 23:09:55 +01:00
Darien Raymond
7e37d141e2
move parseHost to http protocol
2018-12-10 23:08:16 +01:00
comwrg
e52b387483
fix sniff http ipv6 address
2018-12-10 20:37:17 +08:00
Darien Raymond
24288a74a2
update tests
2018-11-15 11:17:20 +01:00
Darien Raymond
b6dc31d3fe
first part to move feature interfaces into dedicated directory
2018-10-11 20:43:37 +02:00
Darien Raymond
e8959dff86
fix http sniffer
2018-07-25 23:34:52 +02:00
Darien Raymond
e3cc12995f
fix some lint errors
2018-07-19 13:31:57 +02:00
Darien Raymond
8912e4eb90
move sniffer to their own directory
2018-07-16 12:56:50 +02: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