Accept HTTP1 in naive inbound

This commit is contained in:
世界
2022-08-23 13:22:03 +08:00
parent c9b7acd22c
commit 9edfe7d9d3
12 changed files with 356 additions and 118 deletions

View File

@@ -15,7 +15,7 @@ func TestHysteriaSelf(t *testing.T) {
_, certPem, keyPem := createSelfSignedCertificate(t, "example.org")
startInstance(t, option.Options{
Log: &option.LogOptions{
Level: "trace",
Level: "error",
},
Inbounds: []option.Inbound{
{
@@ -93,7 +93,7 @@ func TestHysteriaInbound(t *testing.T) {
caPem, certPem, keyPem := createSelfSignedCertificate(t, "example.org")
startInstance(t, option.Options{
Log: &option.LogOptions{
Level: "trace",
Level: "error",
},
Inbounds: []option.Inbound{
{
@@ -146,7 +146,7 @@ func TestHysteriaOutbound(t *testing.T) {
})
startInstance(t, option.Options{
Log: &option.LogOptions{
Level: "trace",
Level: "error",
},
Inbounds: []option.Inbound{
{