Commit Graph

434 Commits

Author SHA1 Message Date
zhengshuxin
1e99026a6e rename randmkey to randomkey in redis_key 2019-09-20 18:40:16 +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
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
zhengshuxin
a87c8d046c support 302, 301 redirect in http module 2019-08-28 11:18:18 +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
zhengshuxin
56f66e2688 optimize class variables to decrease the size of class object. 2019-08-20 17:17:37 +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
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
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
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
郑树新
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
郑树新
272727f104 add ACL_CPP_API on acl::atomic 2019-08-01 16:27:02 +08:00
郑树新
a1ec482d94 use acl::atomic_long in DLL on windows 2019-08-01 16:19:51 +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
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
8280209e71 add acl_vstream_read_peek3 2019-07-08 22:08:26 +08:00
zhengshuxin
c5fbe9ede4 format c++ code style. 2019-07-07 13:27:58 +08:00
zhengshuxin
87c1bc8028 format c++ code style. 2019-07-07 11:00:12 +08:00
zhengshuxin
190be40459 optimize HTTP module for supporting HTTP/1.1 2019-07-04 16:32:57 +08:00
郑树新
cff0958e2c
Merge branch 'master' into master 2019-06-26 22:52:56 +08:00
zhengshuxin
1fb167d560 remove some useless comments 2019-06-24 11:58:19 +08:00
zhengshuxin
996574d860 add more comments for http_client 2019-06-23 20:56:49 +08:00
zhengshuxin
f0bcc98a1e acl::string supports concatenating multiple string or object of POD type. 2019-06-20 17:54:22 +08:00
meihouhao2017
0261775380 support PATCH method of http. 2019-06-18 11:00:58 +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
fae5f0aee6 format c++ code style. 2019-06-10 16:34:23 +08:00
zhengshuxin
8ab1c2fb6a http_aclient supports unzipping compressed data from server's response. 2019-06-10 16:08:21 +08:00
zhengshuxin
7ae938030e test websocket samples 2019-06-10 13:00:25 +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
1958bb4229 optimize http_aclient and websocket 2019-06-06 23:43:04 +08:00
zhengshuxin
624f828575 optimize http_aclient 2019-06-06 13:46:23 +08:00
zhengshuxin
88b60dfa8a http_aclient ok! 2019-06-05 17:48:52 +08:00
zhengshuxin
7d85364bc6 add http_aclient for getting http response from webserver in aio mode. 2019-06-05 17:36:47 +08:00
zhengshuxin
288986fdac optimize http module for http request 2019-06-04 14:51:21 +08:00
zhengshuxin
7a22252ab2 remove noncopyable from dbuf_guard/dbuf_pool 2019-05-31 18:34:28 +08:00
郑树新
b20b7bacb7 db module support getting length of field value 2019-05-27 12:11:30 +08:00
zhengshuxin
b1b7d08a0c compiling optimization to get smaller library's size 2019-05-19 16:54:20 +08:00