Commit Graph

835 Commits

Author SHA1 Message Date
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
root
72a5287da5 add memory using debug info. 2019-08-16 18:17:11 +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
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
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
zhengshuxin
4bd36703b0 ws key 2019-08-09 18:22:35 +08:00
zhengshuxin
6eba8bbafd ws key should be base64 encoded in http_header::set_ws_key() 2019-08-09 18:05:51 +08:00
shuxin   zheng
c55d1badc7 modify sample 2019-08-09 13:26:56 +08:00
shuxin   zheng
922784168d fixed one bug in events_kqueue.h for time interval computing 2019-08-09 11:26:51 +08:00
zhengshuxin
9b0c1cc233 test http_client sample 2019-08-08 18:03:33 +08:00
zhengshuxin
d1c7ef9562 sample test 2019-08-08 17:57:45 +08:00
zhengshuxin
7667d4b031 add one async http client sample 2019-08-08 17:40:16 +08:00
zhengshuxin
7ded499111 url_coder supports value is NULL or empty 2019-08-08 16:13:05 +08:00
zhengshuxin
bdef51bfc1 modify sample 2019-08-07 22:00:22 +08:00
zhengshuxin
996b2647c9 samples/websocket: add one async websocket sample 2019-08-07 21:57:24 +08:00
zhengshuxin
bc2de9f4d1 fixed one bug of hdr_can_read() in http_chat_async.c that the connection should be closed when notify callback return -1. 2019-08-07 21:41:43 +08:00
郑树新
d9e2cf574a add get_status() method in http_header.hpp for getting the http response
status from http server
2019-08-07 17:16:14 +08:00
zhengshuxin
34a6fce74a compiling error on macos 2019-08-07 14:36:09 +08:00
zhengshuxin
1eadcff994 fixed compiling error when using polarssl with static library 2019-08-06 18:23:32 +08:00
郑树新
9d0bfaa4e7 add vc project for http_request sample 2019-08-06 14:32:54 +08:00