Syrone Wong
f9ed9174cc
Fix crash when reading pac user rules
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 years ago
Syrone Wong
1a283aa4ea
Drop obsolete tray area refreshing code
- naming private vars
- object initializer
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 years ago
noisyfox
03c087db6d
Update CHANGES and bump version
9 years ago
noisyfox
5741133d5c
Fix compile error.
And farewell.
9 years ago
noisyfox
28954600a2
Revert "Rename Shadowsocks.Proxy -> Shadowsocks.ForwardProxy"
This reverts commit be3cc3f3a6 .
9 years ago
noisyfox
dd269ac89d
Revert "Remove privoxy"
This reverts commit 0d4d01af3b .
9 years ago
noisyfox
09d89b424d
Revert "First working built-in http proxy"
This reverts commit 5ba0dffa5d .
9 years ago
noisyfox
5e973adb77
Revert "Refine header parse"
This reverts commit f9e39fdd1d .
9 years ago
noisyfox
f149851e3b
Revert "Better host parse"
This reverts commit d1e8f38767 .
9 years ago
noisyfox
511a658fd3
Revert "Reuse buffer from first pakcage"
This reverts commit f2b8e91f81 .
9 years ago
noisyfox
efe6d5ba81
Revert "http -> shadowsocks protocol directly"
This reverts commit b04c59d8e6 .
9 years ago
noisyfox
1f47812eca
Revert "Typo and refine code"
This reverts commit 9cdb71875a .
9 years ago
noisyfox
7a39c2c71f
Revert "Logging exception"
This reverts commit 566a0fcfa5 .
9 years ago
noisyfox
dc48546fed
Revert
9 years ago
noisyfox
eef990f529
Check close before create reomte
Check null ref (#940 )
9 years ago
noisyfox
efc486c733
Update CHANGES and bump version
9 years ago
noisyfox
5650b1d847
Use compiled regex
9 years ago
noisyfox
a08993519f
Handle request line correctlly
This coudl fix #937
9 years ago
noisyfox
76fbd808e3
Add menu item to copy local pac url
9 years ago
noisyfox
557c797a9a
Refine code
9 years ago
noisyfox
ac45b44c09
Update CHANGES and bump version
9 years ago
noisyfox
566a0fcfa5
Logging exception
9 years ago
noisyfox
9cdb71875a
Typo and refine code
9 years ago
noisyfox
b04c59d8e6
http -> shadowsocks protocol directly
No more http->socks5 transform.
9 years ago
noisyfox
f2b8e91f81
Reuse buffer from first pakcage
Remove some debug output
9 years ago
noisyfox
d1e8f38767
Better host parse
9 years ago
noisyfox
f9e39fdd1d
Refine header parse
9 years ago
noisyfox
5ba0dffa5d
First working built-in http proxy
9 years ago
noisyfox
0d4d01af3b
Remove privoxy
9 years ago
noisyfox
be3cc3f3a6
Rename Shadowsocks.Proxy -> Shadowsocks.ForwardProxy
9 years ago
noisyfox
4b067346bf
Refine random string generate.
9 years ago
noisyfox
983c1adb28
Check secret in PACServer
9 years ago
noisyfox
22d8cdeff7
Add secret in local pac url.
9 years ago
noisyfox
b6cd8e0750
Update CHANGES and bump version
9 years ago
noisyfox
cc6f77efa5
Refine code
9 years ago
noisyfox
65b9c9f5fa
Allow check pre-release version
9 years ago
Syrone Wong
1e7a8de34a
Fix privoxy listening port conflict ( #920 )
Let TCP stack find a free port for us
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 years ago
noisyfox
41827f283e
Refine code
9 years ago
noisyfox
4b49431800
Parse dest address before connect to SS server.
This gives us the possibility to chose SS server based on dest address.
9 years ago
noisyfox
da6466e247
Improve exception handling
9 years ago
noisyfox
24db6438bd
Update CHANGES and bump version
9 years ago
Syrone Wong
89b7043a4e
Update CHANGES and bump version
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 years ago
Syrone Wong
a12ae96443
Update CHANGES and bump version
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 years ago
Syrone Wong
04ed25e16f
Add timeout support for server and forward proxy
Also, fix typo in ProxyForm
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 years ago
Syrone Wong
f910400449
Update CHANGES and bump version
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 years ago
Syrone Wong
41eb43b54e
Drop retry connect
Shadowsocks don't need to reconnect, which is the software's
responsibility to retry.
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 years ago
Syrone Wong
46d95e7411
Get rid of lock(this)
- Use readonly object as lock
Info from stackoverflow:
If I want to be sure that it will be locked for all threads inside my
application:
The lock object has to be static, if it locks access to static state.
Otherwise it has to be instance, because there's no need to lock state of
one class instance, and prevent other threads to work with another class
instance at the same time.
everyone says that the object has to be "readonly" I didn't found the
reason
Well, it doesn't have to be. This is just a best practice, which helps you
to avoid errors.
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 years ago
Syrone Wong
d5f24df128
Don't suppress exceptions
It is better to log them.
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 years ago
Syrone Wong
a0fd003099
Close connection in the caller if exception is caught
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 years ago
Syrone Wong
4bd9fd8a6b
Replace treewide polipo with privoxy
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 years ago