Commit Graph

964 Commits

Author SHA1 Message Date
郑树新
910a313ae2 load mbedtls in one or threee libs 2020-01-07 18:33:44 +08:00
zhengshuxin
5cdae99f3a enable mbedtls to support VC 2020-01-07 13:50:04 +08:00
zhengshuxin
56afc8cf80 compiling acl 2020-01-07 10:36:29 +08:00
shuxin   zheng
a0a8a0ef4c compiling mbedtls for vc 2020-01-07 09:18:57 +08:00
shuxin   zheng
07d706f68c test ssl 2020-01-06 17:51:33 +08:00
zhengshuxin
045ff7a5da test ssl demo 2020-01-06 15:50:03 +08:00
shuxin   zheng
4a7dce51ba acl::mbedtls_conf can load three mbedtls dynamic libs 2020-01-06 15:29:03 +08:00
shuxin   zheng
85cec4e57b test ssl sample 2020-01-05 15:41:08 +08:00
shuxin   zheng
ddede82757 add demo shell 2020-01-05 10:37:09 +08:00
shuxin   zheng
952a610187 test ssl demos 2020-01-05 10:32:38 +08:00
zhengshuxin
7f851cc437 test mbedtls ok! 2020-01-03 17:01:51 +08:00
zhengshuxin
dbad2342d1 test mbedtls module 2020-01-03 15:57:34 +08:00
shuxin   zheng
444554525a merge bugfix from polarssl_io.cpp to mbedtls_io.cpp for send() method 2020-01-03 00:09:33 +08:00
郑树新
e3fd63da99
Merge pull request #193 from moehuster/develop
Bugfix: polarssl_io::send failed when buffer length exceed 16384
2020-01-02 23:59:45 +08:00
zhengshuxin
843001eac0 fixed compiling error 2020-01-02 23:57:15 +08:00
shuxin   zheng
59955b5b23 test acl using mbedtls ok! 2020-01-02 23:29:06 +08:00
moehuster
4d524eeb45 Bugfix: polarssl_io::send failed when buffer length exceed 16384 2020-01-02 19:57:48 +08:00
shuxin   zheng
7337774e46 fixed bug in http_aclient.cpp for memory leaking when enable gzip feature. 2019-12-23 13:34:05 +08:00
shuxin   zheng
7aea2e148b fixed one bug in mbedtls_io.cpp when using safe_snprintf in open() method 2019-12-21 21:53:37 +08:00
郑树新
b2ec46671a build for windows ok 2019-12-20 15:30:02 +08:00
shuxin   zheng
be1ff25ee1 test mbedtls 2019-12-20 15:08:36 +08:00
shuxin   zheng
d8518893b2 use sslbase_conf/sslbase_io other than polarssl_conf/polarssl_io 2019-12-18 11:40:41 +08:00
shuxin   zheng
7c86d76c33 add sslbase_io/sslbase_conf for compatiable with more ssl libs. 2019-12-18 11:22:54 +08:00
shuxin   zheng
c6c9eaa47e add mbedtls into vc projects 2019-12-17 18:30:49 +08:00
shuxin   zheng
2d1ac25684 changes acl_pthread_cond_t for compiling with other library 2019-12-17 13:20:55 +08:00
zhengshuxin
abde661bf6 test websocket 2019-12-13 16:46:28 +08:00
zhengshuxin
b4306aa1cd format code 2019-12-13 16:32:06 +08:00
shuxin   zheng
6135813d6c add reactor mode for aio_listen_stream 2019-12-12 15:29:58 +08:00
shuxin   zheng
49ef1a29a8 add comments 2019-12-12 10:57:29 +08:00
shuxin   zheng
a102fba468 fixed bug in frame_header for init 2019-12-10 13:31:07 +08:00
shuxin   zheng
e9ab2e4a79 compiling gson.cpp ok for ndk9d 2019-12-04 17:53:10 +08:00
shuxin   zheng
3a0ef41213 remove ACL_CLIENT_ONLY from ndk-build.sh 2019-12-04 17:41:55 +08:00
shuxin   zheng
8056521002 modify aio_listen_stream 2019-12-03 14:46:50 +08:00
shuxin   zheng
a0d17357ec add more function for aio_listen_stream class 2019-12-03 14:45:11 +08:00
shuxin   zheng
1e9a0f1721 build acl for ndk-r9d for Android 2019-11-22 17:37:20 +08:00
shuxin   zheng
83f6022f7c use ndk-build to build for Android ndk 2019-11-22 17:03:05 +08:00
shuxin   zheng
93f9d6eb83 build for ndk9d ok by using *.mk for Android 2019-11-22 16:14:20 +08:00
zhengshuxin
8bc1bc4c44 add demo 2019-11-22 10:07:46 +08:00
shuxin   zheng
03c4c9de7c add -flto=thin for xcode 2019-11-19 11:38:04 +08:00
shuxin   zheng
262c025505 optimize libs' size for ios 2019-11-12 18:10:26 +08:00
shuxin   zheng
fba11d437e fixed comments error 2019-11-09 22:39:43 +08:00
shuxin   zheng
8d8e5574ac format c++ code 2019-11-04 17:35:00 +08:00
Wii
97368e630f bug fixed in redis_stream xread 2019-11-02 23:15:22 +08:00
shuxin   zheng
fcefb9a217 add -g when builing by cmake 2019-11-01 11:09:20 +08:00
zhengshuxin
300524a8f0 fixed bug in http_aclient.cpp that memory may leak. 2019-10-31 16:51:41 +08:00
shuxin   zheng
e97ec5a2ca bug fixed in acl::aio_handle::dns_empty() 2019-10-29 10:00:58 +08:00
shuxin   zheng
a67ad8cf1a build for xcode 2019-10-28 18:20:36 +08:00
shuxin   zheng
98a1e650b6 optimize size for ios 2019-10-25 16:11:15 +08:00
shuxin   zheng
bfdf0e600c optimize size for IOS 2019-10-25 15:21:42 +08:00
zhengshuxin
5f415f1302 add ssl enable/disable switch for http_aclient 2019-10-18 10:03:52 +08:00
zhengshuxin
76ba04380d add ssl enable/disable switch for http_aclient 2019-10-18 10:02:22 +08:00
shuxin   zheng
2998681abc build shared acl can be set from cmake args 2019-10-17 16:58:44 +08:00
郑树新
6aeeb6dc8c optimize cmake for Android Studio that can use c++_shared and gnustl_shared 2019-10-17 16:39:52 +08:00
shuxin   zheng
d3ab857d3b optimize projects for xmake and cmake 2019-10-15 16:52:02 +08:00
ruki
1c0ff5d208 update xmake.lua: export public includedirs 2019-10-14 09:34:37 +08:00
zhengshuxin
68add9648d build acl by xmake 2019-10-13 16:02:18 +08:00
zhengshuxin
8d4dff9f18 building with xmake 2019-10-08 16:36:16 +08:00
shuxin   zheng
a26e39e27b Merge https://github.com/acl-dev/acl into HEAD 2019-10-04 11:32:40 +08:00
shuxin   zheng
d7978bcae5 optimize acl project 2019-10-04 11:31:08 +08:00
shuxin   zheng
8110358e94 optimize CMakeLists 2019-10-01 17:49:11 +08:00
shuxin   zheng
fbc9ee585e optimize libs size building by xcode 2019-10-01 16:08:38 +08:00
shuxin   zheng
f66472cadf optimize compiling options 2019-09-30 15:05:20 +08:00
shuxin   zheng
60f98235cd optimize libs size 2019-09-30 14:59:26 +08:00
shuxin   zheng
3a956421c0 merge acl 2019-09-30 14:23:47 +08:00
shuxin   zheng
63181608f4 optimize libs size for MacO 2019-09-30 14:19:27 +08:00
shuxin   zheng
7a411a53dd optimize libs size for IOS/Macos 2019-09-30 11:46:56 +08:00
zhengshuxin
518e2ad896 format CMakeLists 2019-09-24 15:01:27 +08:00
shuxin   zheng
2179f6880a just add '-fvisibility=hidden' for android in order to decrease lib's size 2019-09-24 11:21:36 +08:00
zhengshuxin
2c78c1961b compiling flag "-fvisibility=hidden" should not be used! 2019-09-24 09:33:11 +08:00
zhengshuxin
1e99026a6e rename randmkey to randomkey in redis_key 2019-09-20 18:40:16 +08:00
shuxin   zheng
09d7897e8a optimize libs' size 2019-09-19 09:00:59 +08:00
shuxin   zheng
5a741c439d add conditional compiling for SSL in http_aclient 2019-09-18 21:15:24 +08:00
zhengshuxin
17de548adb optmize cmake files to decrease lib's size 2019-09-18 17:10:49 +08:00
zhengshuxin
31283e4207 set_frame_masking_key is default in websocket client mode 2019-09-17 18:31:03 +08:00
zhengshuxin
4ac0748114 set_frame_masking_key() should be called in http_aclient::ws_handshake() in client mode. 2019-09-17 16:51:43 +08:00
郑树新
8cd92eadf8 fixed one compiling error by vc 2019-09-17 11:29:06 +08:00
shuxin   zheng
18e71af9df add waiting timeout for redis_pubsub::get_message() 2019-09-16 22:31:43 +08:00
shuxin   zheng
a8230ddd7c add waiting timeout for redis_pubsub::get_message() 2019-09-16 22:30:40 +08:00
shuxin   zheng
023cd46ed2 fixed bugs in get_peer()/get_local() in aio_stream class 2019-09-16 21:55:14 +08:00
shuxin   zheng
d1fb7e888a fixed parameters comments warning in headers found by xcode 2019-09-13 19:47:23 +08:00
shuxin   zheng
152415550b upgrade xcode projects of acl 2019-09-13 17:06:46 +08:00
zhengshuxin
970620ac85 add more log info for event 2019-09-08 21:17:46 +08:00
zhengshuxin
ce29a52a98 delay time default was set to 100 ms 2019-09-06 13:17:45 +08:00
郑树新
b42b8bb33d build ok in release mode 2019-09-06 11:49:05 +08:00
zhengshuxin
a3ce17dcc1 modify CMakeLists for building release version 2019-09-06 11:27:36 +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
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
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
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