Commit Graph

328 Commits

Author SHA1 Message Date
shuxin   zheng
4f2dd3649f rewrite redis_client_cluster/redis_command classes. 2020-07-20 11:21:47 +08:00
shuxin   zheng
6e694b7080 support ssl SNI 2020-07-01 17:05:41 +08:00
shuxin   zheng
2507cab804 test redis ssl ok 2020-05-05 23:25:02 +08:00
shuxin   zheng
7378db23d9 fixed one bug in http_ctype.cpp 2020-04-06 18:25:19 +08:00
zhengshuxin
a5cefac181 fixed bug in thread.cpp when restarting thread using the same thread object 2020-02-16 13:06:34 +08:00
shuxin   zheng
6a13e7c3a2 make ssl module more easy 2020-01-12 19:41:29 +08:00
shuxin   zheng
59955b5b23 test acl using mbedtls ok! 2020-01-02 23:29:06 +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
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
6135813d6c add reactor mode for aio_listen_stream 2019-12-12 15:29:58 +08:00
zhengshuxin
300524a8f0 fixed bug in http_aclient.cpp that memory may leak. 2019-10-31 16:51:41 +08:00
zhengshuxin
2c78c1961b compiling flag "-fvisibility=hidden" should not be used! 2019-09-24 09:33:11 +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
shuxin   zheng
18e71af9df add waiting timeout for redis_pubsub::get_message() 2019-09-16 22:31:43 +08:00
shuxin   zheng
023cd46ed2 fixed bugs in get_peer()/get_local() in aio_stream class 2019-09-16 21:55:14 +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
56f66e2688 optimize class variables to decrease the size of class object. 2019-08-20 17:17:37 +08:00
zhengshuxin
6eba8bbafd ws key should be base64 encoded in http_header::set_ws_key() 2019-08-09 18:05:51 +08:00
zhengshuxin
7ded499111 url_coder supports value is NULL or empty 2019-08-08 16:13:05 +08:00
郑树新
78a1600b90 fixed bug in init_log_mutex() of acl_mylog.c;
fixed bug in atomic_long  which can't be used in windows.
2019-08-02 19:21:24 +08:00
zhengshuxin
d8d624ee98 use utf8 for text files. 2019-07-30 23:52:48 +08:00
zhengshuxin
9697f95b8f Revert "All source code have been changed to use utf8 charset with BOM header!"
This reverts commit 15d999759e.
2019-07-28 10:31:56 +08:00
zsxxsz
15d999759e All source code have been changed to use utf8 charset with BOM header! 2019-07-27 22:44:32 +08:00
zhengshuxin
c5de28c7ee fixed bug in redis_set::spop 2019-07-27 10:08:46 +08:00
zhengshuxin
498e0537dd add new features in fstream/ofstream/ifstream 2019-07-24 16:12:58 +08:00
zhengshuxin
23f97bdd4f HttpServletRequest won't discard body_parse_ and will read request body when user calls getJson/getXml. 2019-07-20 16:14:09 +08:00
zhengshuxin
92ad11180a polarssl_io can be deleted when reference is zero. 2019-07-12 11:05:17 +08:00
zhengshuxin
7f8f8bc29c http_request::request will set Content-Length of HTTP request HEAD according the data and len parameters. 2019-07-04 17:46:19 +08:00
zhengshuxin
190be40459 optimize HTTP module for supporting HTTP/1.1 2019-07-04 16:32:57 +08:00
zhengshuxin
3bcd491cb4 fixed bug in http_request::get_body which will be crashed when out's type is string 2019-06-23 20:19:26 +08:00
zhengshuxin
f0bcc98a1e acl::string supports concatenating multiple string or object of POD type. 2019-06-20 17:54:22 +08:00
zhengshuxin
ab407a51dc http_header supports getting/setting cookies for request and response. 2019-06-12 23:25:35 +08:00
zhengshuxin
55e29c55b3 aio_istream/aio_ostream can be created with socket fd. 2019-06-11 23:16:03 +08:00
zhengshuxin
d4b6538dcd fixed bug in polarssl_io.cpp for static compiling 2019-06-11 17:00:54 +08:00
zhengshuxin
8d73223341 fixed bug in websocket::send_frame_pong 2019-06-11 15:06:47 +08:00
zhengshuxin
8ab1c2fb6a http_aclient supports unzipping compressed data from server's response. 2019-06-10 16:08:21 +08:00
zhengshuxin
16f37938b0 add websocket supporting in http_aclient 2019-06-09 22:46:07 +08:00
zhengshuxin
132322015f SSL communication has been supported in redis client module. 2019-06-08 14:06:22 +08:00
zhengshuxin
88b60dfa8a http_aclient ok! 2019-06-05 17:48:52 +08:00
郑树新
b20b7bacb7 db module support getting length of field value 2019-05-27 12:11:30 +08:00
zsxxsz
53583d8a9d add compiling macro option ACL_CLIENT_ONLY to decrease the library's size for
client software.
2019-05-18 21:19:21 +08:00
zhengshuxin
70d46d567b XREADGROUP/XREAD should be blocked when block is 0 2019-05-14 11:13:49 +08:00
zhengshuxin
8b77b0456a safety & feature: add nocopyable limit for many class to avoid potential problem 2019-05-09 13:57:51 +08:00
zhengshuxin
d62bb45cd6 tcp_keeper: fixed one bug in keeper_conn.cpp;
server_socket: remove one constructur method;
2019-04-28 16:17:17 +08:00
zsxxsz
ede94861d2 add zpopmin/zpopmax/bzpopmin/bzpopmax in redis_redis 2019-04-27 21:23:12 +08:00
zsx
74369b46dc scan_dir: empty directory can be removed when scanning directories 2019-02-01 18:47:19 +08:00
zsx
3b4b19a542 fixed bugs in scan_dir module 2019-02-01 13:49:27 +08:00
zsx
64d1c2458b thread::start: add sync start thread way 2019-01-30 16:43:02 +08:00
zsx
5acbcf50cc connect_manager::check_idle: fixed one bug when pools_size is 0 2019-01-21 13:19:49 +08:00