Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
com.ccwangluo.accelerator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sheteng
com.ccwangluo.accelerator
Commits
be4d0367
Commit
be4d0367
authored
Mar 03, 2020
by
Max Lv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix traffic stat report
parent
5fed95f9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
core/build.gradle
core/build.gradle
+1
-1
core/src/main/java/com/github/shadowsocks/bg/ProxyInstance.kt
.../src/main/java/com/github/shadowsocks/bg/ProxyInstance.kt
+1
-0
core/src/main/rust/shadowsocks-rust
core/src/main/rust/shadowsocks-rust
+1
-1
No files found.
core/build.gradle
View file @
be4d0367
...
@@ -65,7 +65,7 @@ cargo {
...
@@ -65,7 +65,7 @@ cargo {
targetIncludes
=
[
"lib${libname}.so"
]
targetIncludes
=
[
"lib${libname}.so"
]
extraCargoBuildArguments
=
[
'--bin'
,
'sslocal'
]
extraCargoBuildArguments
=
[
'--bin'
,
'sslocal'
]
features
{
features
{
noDefaultBut
"sodium"
,
"
android"
,
"
rc4"
,
"aes-cfb"
,
"aes-ctr"
,
"camellia-cfb"
,
"openssl-vendored"
noDefaultBut
"sodium"
,
"rc4"
,
"aes-cfb"
,
"aes-ctr"
,
"camellia-cfb"
,
"openssl-vendored"
}
}
exec
{
spec
,
toolchain
->
exec
{
spec
,
toolchain
->
spec
.
environment
(
"RUSTFLAGS"
,
"-C lto=no -C link-arg=-o -C link-arg=target/${toolchain.target}/$profile/lib${libname}.so"
)
spec
.
environment
(
"RUSTFLAGS"
,
"-C lto=no -C link-arg=-o -C link-arg=target/${toolchain.target}/$profile/lib${libname}.so"
)
...
...
core/src/main/java/com/github/shadowsocks/bg/ProxyInstance.kt
View file @
be4d0367
...
@@ -122,6 +122,7 @@ class ProxyInstance(val profile: Profile, private val route: String = profile.ro
...
@@ -122,6 +122,7 @@ class ProxyInstance(val profile: Profile, private val route: String = profile.ro
val
cmd
=
arrayListOf
(
val
cmd
=
arrayListOf
(
File
((
service
as
Context
).
applicationInfo
.
nativeLibraryDir
,
Executable
.
SS_LOCAL
).
absolutePath
,
File
((
service
as
Context
).
applicationInfo
.
nativeLibraryDir
,
Executable
.
SS_LOCAL
).
absolutePath
,
"--stat-path"
,
stat
.
absolutePath
,
"-c"
,
configFile
.
absolutePath
)
"-c"
,
configFile
.
absolutePath
)
if
(
service
.
isVpnService
)
cmd
+=
arrayListOf
(
"--vpn"
)
if
(
service
.
isVpnService
)
cmd
+=
arrayListOf
(
"--vpn"
)
if
(
extraFlag
!=
null
)
cmd
.
add
(
extraFlag
)
if
(
extraFlag
!=
null
)
cmd
.
add
(
extraFlag
)
...
...
shadowsocks-rust
@
8b836065
Subproject commit
ce05fb8ad50c69976b7e63b713c32d8ed164250d
Subproject commit
8b836065d26f1fc6e3f51fc47e4622ac61017ea3
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment