Max Prokhorov
3c10661d81
Use correct outdir
6 years ago
Max Prokhorov
999e0555c7
Fedora COPR support
- Support .copr/Makefile for 'SCM / make srpm' COPR package
- Use genrpm.sh to generate srpm and optionally build it
- Use generic substitution syntax in specfile
6 years ago
Max Lv
a0a56e713b
Merge pull request #2045 from xnoreq/master
Fix DNS timeouts
6 years ago
xnor
14b6261b40
Optimize resolv timer
Don't call ares_timeout since it does a search through all queries.
Instead, schedule a timer that fires after 1 second. If no activity happened
for over 1 second do ares timeout processing, otherwise reschedule the timer
to fire after the remaining timeout.
This also completely avoids the ev_timer_again calls for each single fd event.
6 years ago
xnor
a5db5ef71f
Fix DNS timeouts
C-ares creates up to two sockets per nameserver. With up to three nameservers
in resolv.conf this makes a max of six active sockets.
Having only one ev_io watcher resulted in closing watchers that were
still active, needlessly resulting in DNS timeouts.
6 years ago
Max Lv
380cb81234
Revert "Create srpm and rpm targets to the Autotools build"
This reverts commit 395515d1f7
.
6 years ago
Max Lv
a4f40437c3
Revert "Update docker ignore"
This reverts commit 3ef7f701e4
.
6 years ago
Max Lv
3ef7f701e4
Update docker ignore
6 years ago
Max Lv
8d3ce8b77c
Make sure ev_io_stop before ev_io_set
6 years ago
Max Lv
320668e628
Merge branch 'master' of github.com:shadowsocks/shadowsocks-libev
6 years ago
Max Lv
204037b100
Simplify the handshake part
6 years ago
Max Lv
68e53dd07f
Merge pull request #2039 from vfreex/automake-srpm-target
Create srpm and rpm targets to the Autotools build
6 years ago
Yuxiang Zhu
395515d1f7
Create srpm and rpm targets to the Autotools build
The new `srpm` target can be handled by Fedora Copr for
automated builds. A `rpm` target is also added for alignment.
6 years ago
Max Lv
c61736e903
Set the minimum resolv timeout to be one second
6 years ago
Max Lv
a12cafae9f
Merge pull request #2034 from poonzah/patch-1
fixed docker -p flag syntax
6 years ago
Max Lv
a16826b83e
Merge pull request #2037 from FlyingheartCN/master
Fix Build Fail with GCC8
6 years ago
FlyingheartCN
662b6db3f3
Fix Build Fail with GCC8
6 years ago
Dariush Alipour
c3db67bce5
fixed docker -p flag syntax
6 years ago
Max Lv
eb53d54334
Merge pull request #2022 from zhuzeitou/master
Optimize Dockerfile, add SERVER_PORT back
6 years ago
zhuzeitou
cb109a41fd
Optimize Dockerfile, add SERVER_PORT back
6 years ago
Max Lv
710f7471fc
Merge pull request #2020 from rogers0/PR/fix_script3
Improve on the build scripts
6 years ago
Roger Shimizu
c19f0ed46d
Add scripts/chroot_build.sh to call build_deb.sh in a chrooted env
Support common debian and ubuntu version, such as jessie, stretch,
trusty, and xenial, etc.
e.g.
$ sudo scripts/chroot_build.sh jessie
6 years ago
Roger Shimizu
540f0903f5
scripts/build_deb.sh: Update libsodium build due to debhelper 11
6 years ago
Max Lv
a9d56518bb
Update libcork
6 years ago
Max Lv
dada99c5b6
Fix the SNI issue
6 years ago
Max Lv
c377dcac97
Merge pull request #2017 from rallet/master
Ignore SIGCHLD for library usage
6 years ago
Max Lv
2c2063a792
Fix a warning on Android
6 years ago
Max Lv
d4298f71f0
Refine the code structure
6 years ago
Rallets
5d17c0431f
Ignore SIGCHLD for library usage
6 years ago
Max Lv
aa6557b729
Merge pull request #2016 from rogers0/PR/fix_script2
scripts/build_deb.sh: Update URL in script
6 years ago
Roger Shimizu
a98587fa5f
scripts/build_deb.sh: Update URL in script
- Use https URL when possible.
- Use salsa git repo instead of alioth (anonscm) for those already
migrated in debian.
6 years ago
Mygod
a4c9059ffe
Fix all routing not working in Android
This reverts commit 66ed595c52
.
6 years ago
Max Lv
68f885c271
Fix plugin on Android
6 years ago
Max Lv
404c798a1a
Merge pull request #2010 from feng-ye/master
fix cmake syntax.
6 years ago
Feng Ye
a8681c260e
fix cmake syntax.
6 years ago
Max Lv
3e7c852970
Fix a crash
6 years ago
Max Lv
cd72e28bcb
Add missing option
6 years ago
Max Lv
7e414bb993
Disable SNI when DNS forwarding enabled
6 years ago
Max Lv
66ed595c52
Add back the SNI addr reconstructor
6 years ago
Max Lv
0e9b87eb05
Merge pull request #2003 from leesah/master
Docker: optimizations
6 years ago
Sah
d70bba28f8
Docker: Dockerfile improvements
- Format adjustments
- Fix error: missing runtime dependencies
6 years ago
Sah
fdb6b6be3f
Docker: optimize image size
6 years ago
Max Lv
20332eb04b
Fix #1999
6 years ago
Max Lv
f2ccc5d559
Merge pull request #1997 from linusyang92/mingw-color
MinGW: Support colored text in Windows console
6 years ago
Linus Yang
e02ad6b1bc
MinGW: Override gai_strerror
6 years ago
Linus Yang
af9dc106e3
MinGW: speed up docker build
6 years ago
Linus Yang
6315f6c3cd
MinGW: get console only once
6 years ago
Linus Yang
4ee1d18ce9
MinGW: support color text in console
6 years ago
Max Lv
a6de9516e3
Merge pull request #1995 from linusyang92/mingw-fix
MinGW: fix socket closing in wrong place
6 years ago
Linus Yang
1f9dd2fbf4
MinGW: fix socket closing in wrong place
6 years ago