mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-04 12:27:36 +03:00
Accept HTTP1 in naive inbound
This commit is contained in:
parent
c9b7acd22c
commit
9edfe7d9d3
12 changed files with 356 additions and 118 deletions
|
@ -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{
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue