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

@@ -18,6 +18,7 @@ const (
serverPort uint16 = 10000 + iota
clientPort
testPort
otherPort
)
func TestShadowsocks(t *testing.T) {
@@ -199,7 +200,7 @@ func TestShadowsocksUoT(t *testing.T) {
password := mkBase64(t, 16)
startInstance(t, option.Options{
Log: &option.LogOptions{
Level: "trace",
Level: "error",
},
Inbounds: []option.Inbound{
{