Meitian Huang
6dbf0fae07
Refine nameserver settings
...
* Use the nameserver given in the configuration file if any.
* Use Google Public DNS only if the user does not nominate a nameserver.
2015-01-10 17:24:24 +11:00
Max Lv
e5289e9ba4
Replace libasyncns with libudns
2015-01-10 12:31:13 +09:00
Max Lv
2a15e97196
bump version
2015-01-07 21:54:19 +09:00
Max Lv
93d861f9b9
fix #187
2014-12-19 10:50:29 +08:00
Max Lv
5838c021a4
fix #181
2014-12-07 09:35:12 +08:00
Max Lv
b198d1da2e
bump version
2014-11-12 13:12:59 +08:00
Jesse
c7ae92621c
On Windows, read CRLF ending file exist some problem that tested by MinGW and VS2008.
...
1)open CRLF ending file in text mode
2)
fseek(f, 0, SEEK_END);
long pos = ftell(f); // return the file total byte
fseek(f, 0, SEEK_SET);
3)
int nread = fread(buf, pos, 1, f); // always return 0 to nread
int nread = fread(buf, 1, pos, f); // return readed byte with CRLF converted to LF. it means pos - nread = CRLF's count.
2014-09-16 14:15:33 +08:00
Datong Sun
1d8719f2e4
Added support for setrlimit(2)
2014-07-14 01:49:24 -05:00
Max Lv
aec9f9bc9a
add license headers
2014-05-25 13:13:39 +08:00
clowwindy
02520b7e1f
fix fast_open option
2014-05-02 21:21:28 +08:00
clowwindy
c168ee9a1d
add fast open support in client
2014-05-02 17:22:49 +08:00
Max Lv
fa2acecd62
clean up
2014-04-16 10:44:15 +08:00
Max Lv
2b92b57bed
fix the ambiguous type defination
2014-02-27 08:11:16 +08:00
Max Lv
11da9b233a
fix the buffer corruption
2014-02-22 14:00:43 +08:00
Max Lv
84e04eefaa
WiP: finish the udp part
2014-02-21 11:59:32 +09:00
Max Lv
2153e3fd04
WiP: add tunnel mode
2014-02-21 11:58:41 +09:00
Max Lv
e9a7c0166b
fix #44
2014-02-21 09:46:55 +08:00
David
c60cb45430
Cannot read config file properly.
2014-01-07 20:22:57 +08:00
Max Lv
6663ebb70a
fix some warnings
2014-01-05 11:22:43 +00:00
Max Lv
2c78ccfbf8
fix a timeout issue
2014-01-05 15:50:52 +08:00
Guizai
5d9c93a6d4
Add local bind address config
...
specific local address to bind in `config.json`:
`"local": "127.0.0.1"`
2013-11-25 15:14:37 +08:00
Max Lv
4606acd773
add multi-config support
2013-11-12 03:56:30 +00:00
Linus Yang
21b9258d77
Add initial support for native win32 platform
...
Should be built against MinGW, and please note that
only ss-local is ported due to lack win32 support of
libasyncns. And libev doesn't support IOCP but only
supports select
2013-09-09 20:59:22 +08:00
Max Lv
d227da2323
Update code style
2013-09-05 09:29:43 +08:00
Max Lv
70ddd012e3
fix a bug on OS X 10.6.x
2013-05-18 18:43:16 +08:00
Max Lv
c06c1495fb
fix json format issue
2013-04-23 10:39:09 +08:00
Max Lv
5df9644823
fix issues
2013-04-02 16:33:50 +08:00
Max Lv
e33a82ff74
fix warnings
2013-04-02 15:23:44 +08:00
Max Lv
e2efa22733
embedded libev
2013-04-01 17:56:39 +08:00