mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-01-06 09:15:37 -05:00
first part to move feature interfaces into dedicated directory
This commit is contained in:
@@ -5,7 +5,7 @@ import (
|
||||
"errors"
|
||||
"strings"
|
||||
|
||||
"v2ray.com/core"
|
||||
"v2ray.com/core/common"
|
||||
)
|
||||
|
||||
type version byte
|
||||
@@ -48,7 +48,7 @@ func beginWithHTTPMethod(b []byte) error {
|
||||
}
|
||||
|
||||
if len(b) < len(m) {
|
||||
return core.ErrNoClue
|
||||
return common.ErrNoClue
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,5 +86,5 @@ func SniffHTTP(b []byte) (*SniffHeader, error) {
|
||||
return sh, nil
|
||||
}
|
||||
|
||||
return nil, core.ErrNoClue
|
||||
return nil, common.ErrNoClue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user