Commit Graph

2182 Commits

Author SHA1 Message Date
zhengshuxin
a3ce17dcc1 modify CMakeLists for building release version 2019-09-06 11:27:36 +08:00
zhengshuxin
ed1521b36b build ok by xmake 2019-09-03 22:28:50 +08:00
zhengshuxin
1980455b7c fixed bug in http_aclient_ssl sample. 2019-09-03 13:15:41 +08:00
zhengshuxin
2b1ccf767c sample/aio/http_client supports HTTP url redirect. 2019-08-28 14:55:47 +08:00
zhengshuxin
a87c8d046c support 302, 301 redirect in http module 2019-08-28 11:18:18 +08:00
郑树新
e28e64c422 build ok by Android studio. 2019-08-27 15:18:31 +08:00
zhengshuxin
56a6681879 Merge branch 'upstream-master' 2019-08-23 21:28:19 +08:00
zhengshuxin
fce6ab6d2b add error info when socket operations were failed. 2019-08-23 21:20:47 +08:00
zhengshuxin
b601b629e5 add acl::acl_cpp_init() for some samples which were needed by Windows OS. 2019-08-23 21:16:45 +08:00
zhengshuxin
7b8038080a compling http_client sample ok on Linux 32 bits 2019-08-23 17:54:00 +08:00
zhengshuxin
3295c10aea compiling http_client sample ok on Linux 32 bits 2019-08-23 02:42:30 -07:00
zhengshuxin
3a362e1cee change http_client sample 2019-08-23 16:28:00 +08:00
zhengshuxin
3eea42ca8a modify http_client sample 2019-08-23 15:12:19 +08:00
zhengshuxin
ec9dfe6d3f release 3.5.0-10 for bugfix in socket_stream::get_ip() 2019-08-22 11:38:50 +08:00
zhengshuxin
f552c6aef8 decrease http_aclient's size 2019-08-21 17:54:35 +08:00
郑树新
8f4fd32fc0 add on_ns_failed() callback for http_aclient when nslookup failed. 2019-08-21 17:42:07 +08:00
郑树新
112e319476 support building static lib on Android studio. 2019-08-21 17:35:56 +08:00
zhengshuxin
edebe2548a release 3.5.0-9 2019-08-21 11:04:21 +08:00
zhengshuxin
12fe436211 change CMakeLists 2019-08-21 10:56:43 +08:00
zhengshuxin
7ef4374a46 change CMakeLists to build for Android 2019-08-21 10:15:08 +08:00
zhengshuxin
56f66e2688 optimize class variables to decrease the size of class object. 2019-08-20 17:17:37 +08:00
zhengshuxin
de5454ed58 add range when walking through fds in events to avoid costing much time. 2019-08-19 15:42:30 +08:00
zhengshuxin
bd4ea69bcd unlock first before lock in fork_prepare() in acl_mylog.c 2019-08-19 15:35:55 +08:00
zsxxsz
51b1789300 optimize WinEchod sample 2019-08-18 13:10:26 +08:00
zsxxsz
2ee35f6434 fixed bugs for restarting fiber IO scheduling. 2019-08-17 22:07:51 +08:00
zsxxsz
2153e5a117 format code. 2019-08-17 22:04:57 +08:00
郑树新
f66a47735b fixed compiling error by vc 2019-08-16 18:24:54 +08:00
root
72a5287da5 add memory using debug info. 2019-08-16 18:17:11 +08:00
zhengshuxin
e774daeab4 SO_REUSEADDR can used in inet_connect_one() for client connection. 2019-08-16 11:13:09 +08:00
郑树新
5e8335f011 build ok for windows. 2019-08-15 15:25:28 +08:00
shuxin   zheng
84ab91ca36 optimize samples 2019-08-14 16:36:23 +08:00
shuxin   zheng
907466e99b sample http_client 2019-08-14 15:46:08 +08:00
zhengshuxin
3be918e8c1 add one sample for testing connect with same port in one machine. 2019-08-14 10:56:27 +08:00
zsxxsz
46b4bcd63c add some functions for DNS operations 2019-08-13 21:55:34 +08:00
zhengshuxin
a53b9d36ff dns resolving and aio connect are ok when using multiple DNS server. 2019-08-13 18:29:40 +08:00
zhengshuxin
55eeb5f06c add one test using two dynamic lib with acl built in 2019-08-13 09:21:55 +08:00
zhengshuxin
e53326af9d DNS searching function acl_dns_lookup() in acl_dns.c can send query to multiple DNS and use the first reached result. 2019-08-12 21:49:43 +08:00
zhengshuxin
7d97aaca6f add test case for building binary with minimal size 2019-08-12 17:09:32 +08:00
zhengshuxin
18e9f6541b test case 2019-08-12 16:44:30 +08:00
zhengshuxin
7339cfb141 test case for building .so from .a 2019-08-12 16:42:16 +08:00
zhengshuxin
946bc1944e use conditional compiling for hooking system API getimeofday 2019-08-12 14:52:09 +08:00
zhengshuxin
25aee77809 taskq sample is ok 2019-08-11 15:49:11 +08:00
shuxin   zheng
639501690a some samples can't run on MacOS 2019-08-11 15:22:10 +08:00
shuxin   zheng
8d96beb9b0 format code 2019-08-11 11:12:39 +08:00
shuxin   zheng
574800f456 event_kqueue.c->kevent_fflush should use hooked API __sys_kevent 2019-08-11 11:10:43 +08:00
zhengshuxin
03896a6a12 websocket key for server side 2019-08-09 22:36:54 +08:00
zhengshuxin
7bcb88ae3c optimize websocket handshake. 2019-08-09 22:22:55 +08:00
zhengshuxin
9d891a9b79 websocket sample testing 2019-08-09 21:39:52 +08:00
zhengshuxin
a347debcfa ws key 2019-08-09 19:02:38 +08:00
zhengshuxin
a43648f379 ws_key created 2019-08-09 18:50:10 +08:00