Commit Graph

3124 Commits

Author SHA1 Message Date
zhengshuxin
5e18c5a939 fixed bug where memory leaking happened that rnd_ should be freed in mbedtls_conf::~mbedtls_conf() 2021-08-12 13:38:17 +08:00
shuxin   zheng
31efba0d37 don't unzip Content-Type: application/x-gzip 2021-08-10 17:16:05 +08:00
shuxin   zheng
4c77dbae17 pollfd be set should in loop which maybe more safety. 2021-08-10 16:51:02 +08:00
shuxin   zheng
13fc004f04 optimize acl_read_poll_wait() for MacOS with slice timed waiting. 2021-08-10 11:16:05 +08:00
shuxin   zheng
40e9dc6fcc enable mbedtls default when building by xcode 2021-08-06 17:26:58 +08:00
shuxin   zheng
6188482fee fixed bug in http_header::build_request() when http protocol version has been set 2021-08-03 11:14:56 +08:00
zhengshuxin
8c0c8aa349 don't log info when unload dll to avoid some errors 2021-07-28 19:13:26 +08:00
shuxin   zheng
2928f0b4d9 add time_unit_t type 2021-07-19 18:52:15 +08:00
shuxin   zheng
662246e62e add set_time_unit() for stream class 2021-07-19 18:29:34 +08:00
shuxin   zheng
e6a8935111 make acl_msg.c more safety by add va_copy() macro 2021-07-16 11:02:11 +08:00
zhengshuxin
3e7712ac72 when the http request is HTTP/1.1, keep-alive should be used even if no "Connection" got 2021-07-13 16:51:57 +08:00
zhengshuxin
8dd1d0a329 modify time stamp in acl_init.c 2021-07-13 16:18:46 +08:00
zhengshuxin
d0b031f3b6 test keep-alive of http module 2021-07-13 16:17:28 +08:00
zhengshuxin
380dd209d5 optimize http module 2021-07-13 15:36:51 +08:00
郑树新
6a1c34168f build acl by vc2019 2021-07-13 15:09:46 +08:00
shuxin   zheng
9d77d6ef24 The connection should be set keep-alive when the request http is 1.1 as default 2021-07-13 14:26:31 +08:00
shuxin   zheng
506c63a0fe the connect and read/write timeout can use ms 2021-07-09 18:27:11 +08:00
shuxin   zheng
b19718159a automatically handle 204 http status from server's response which 204 means no body; format code; 2021-07-06 15:13:23 +08:00
shuxin   zheng
e140a07196 add more comments 2021-07-06 15:12:18 +08:00
shuxin   zheng
1f79c0dc48 add comments in http_utils.hpp 2021-07-06 15:11:50 +08:00
shuxin   zheng
cc5619cf18 add one warning log when length too large for acl_vstring_memcat 2021-07-06 15:11:02 +08:00
郑树新
9a2dc17512 add vc2019 project for redis_ssl demo 2021-07-06 14:49:19 +08:00
shuxin   zheng
41f143868f http protocol version can be set in http_header 2021-06-25 11:38:46 +08:00
shuxin   zheng
37fecbfdfa fixed bug in url_coder when decoding a NULL value 2021-06-25 11:12:18 +08:00
zhengshuxin
7e72a9ad95 release acl 3.5.3-0 version 2021-06-24 16:44:13 +08:00
shuxin   zheng
2cecabebb4 correct comments of headers 2021-06-22 17:02:16 +08:00
shuxin   zheng
9327c4d873 Merge branch 'master' of gitee:zsxxsz/acl into gitee-master 2021-06-22 16:08:01 +08:00
shuxin   zheng
eb074943af correct comments headers 2021-06-22 16:07:34 +08:00
shuxin   zheng
da64525a3f correct comments headers 2021-06-22 16:02:21 +08:00
shuxin   zheng
79b4a260eb format output 2021-06-22 09:08:34 +08:00
shuxin   zheng
d066a664db don't hook new in lib_acl_cpp 2021-06-21 17:00:42 +08:00
zhengshuxin
8f0a4e3aef don't hook new in default mode 2021-06-21 11:34:16 +08:00
shuxin   zheng
0bc0776e14 optimize memory pool module 2021-06-21 11:32:29 +08:00
shuxin   zheng
53ca1e811e add comments in header 2021-06-21 10:40:02 +08:00
shuxin   zheng
4f3b4fd489 optimize android project 2021-06-21 10:36:59 +08:00
shuxin   zheng
fd35df78fc add compiling option for Android platform. 2021-06-21 09:51:52 +08:00
shuxin   zheng
fa9724c0c7 add acl_cpp_verbose() 2021-06-21 09:36:15 +08:00
zhengshuxin
a05c0ec9c2 optimize memory pool module 2021-06-18 19:05:48 +08:00
shuxin   zheng
dd6b6f913a optimize memory module 2021-06-18 14:52:21 +08:00
郑树新
8742d622a0 add net module of lib_acl_cpp in vc2012, vc2013, vc2017 2021-06-17 17:38:06 +08:00
shuxin   zheng
6fa0208953 Merge branch 'gitee-upstream-master' into gitee-master 2021-06-16 14:43:18 +08:00
shuxin   zheng
c50680663f modify ppt 2021-06-16 14:42:15 +08:00
郑树新
58f0fa8798 add lost file and fixed one bug in rfc1035 2021-06-16 14:40:04 +08:00
shuxin   zheng
74c4d65e03 modify redis doc 2021-06-14 13:06:26 +08:00
shuxin   zheng
bd77c91d91 add rfc docs of dns 2021-06-13 17:06:42 +08:00
shuxin   zheng
40ddd8aee5 add http_url class for parsing url 2021-06-08 16:45:49 +08:00
shuxin   zheng
1a48b07d9f the even waiting timeout should be restored in acl_fiber_poll/epoll_wait and the 100 ms limit discarded when timeout == 0 2021-06-06 10:05:02 +08:00
zhengshuxin
00fdf2719c fixed bug in json_node::set_text(). 2021-06-03 16:01:15 +08:00
shuxin   zheng
813445f2c5 ignore ACL_EVENT_XCPT when can_read_fn returns ok in can_read_callback. 2021-06-03 14:10:10 +08:00
shuxin   zheng
724ca3f016 don't call READ_IOCP_CLOSE() macro when got ACL_EVENT_XCPT event in can_read_callback, just let 'can_read_fn' to trigger a closing process which is useful for reading ICMP package when found a error by poll. 2021-06-02 16:57:49 +08:00