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
93d7bf89
Commit
93d7bf89
authored
Jan 01, 2013
by
Max Lv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bugs reported by valgrind
parent
b16ac605
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
1 deletion
+3
-1
assets/shadowsocks
assets/shadowsocks
+0
-0
jni/Android.mk
jni/Android.mk
+1
-1
jni/shadowsocks/local.c
jni/shadowsocks/local.c
+2
-0
libs/armeabi/shadowsocks
libs/armeabi/shadowsocks
+0
-0
No files found.
assets/shadowsocks
View file @
93d7bf89
No preview for this file type
jni/Android.mk
View file @
93d7bf89
...
...
@@ -38,7 +38,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE
:=
shadowsocks
LOCAL_SRC_FILES
:=
shadowsocks/local.c shadowsocks/encrypt.c
LOCAL_CFLAGS
:=
-Wall
-O2
-
I
$(LOCAL_PATH)
/libev/
-I
$(LOCAL_PATH)
/openssl/include
-std
=
c99
LOCAL_CFLAGS
:=
-Wall
-O2
-
fno-strict-aliasing
-I
$(LOCAL_PATH)
/libev/
-I
$(LOCAL_PATH)
/openssl/include
LOCAL_STATIC_LIBRARIES
:=
libev libcrypto
...
...
jni/shadowsocks/local.c
View file @
93d7bf89
...
...
@@ -446,6 +446,7 @@ struct remote* new_remote(int fd) {
remote
->
recv_ctx
->
connected
=
0
;
remote
->
send_ctx
->
remote
=
remote
;
remote
->
send_ctx
->
connected
=
0
;
remote
->
buf_len
=
0
;
return
remote
;
}
...
...
@@ -490,6 +491,7 @@ struct server* new_server(int fd) {
server
->
e_ctx
=
NULL
;
server
->
d_ctx
=
NULL
;
}
server
->
buf_len
=
0
;
return
server
;
}
void
free_server
(
struct
server
*
server
)
{
...
...
libs/armeabi/shadowsocks
View file @
93d7bf89
No preview for this file type
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