Commit Graph

538 Commits

Author SHA1 Message Date
zsx
d8ab35a1ac serialize gson: should support the std::map object is optional 2018-02-22 11:50:24 +08:00
zsx
ab6e5fb2b7 add string header in server_socket.hpp 2018-02-13 18:03:24 +08:00
SorataKasugano
d06cfbdb8d
添加host头域
这个样例不太严谨,没有正确添加host头域到header中,sina返回状态码必然是400。
set_url函数里面没有关于相对路径的host头域处理,可能是疏忽了?
2018-02-12 18:52:51 +08:00
郑树新
87b2fd1508 redis_client.cpp: add authing_ for authing in dead loop. 2018-02-05 12:04:35 +08:00
zsxxsz
6d9add27bd bugfix in lib_acl: POLLHUP | POLLERR should not be set as input parameters. 2018-02-03 21:27:21 +08:00
郑树新
342f42c38a fiber: support winsock IOCP event. 2018-02-01 18:40:31 +08:00
郑树新
fa7a71f2fb fiber: add iocp event 2018-01-30 19:57:51 +08:00
zsx
7329f830e9 server_socket supports SO_REUSEPORT on Linux3.x 2018-01-29 23:33:49 +08:00
郑树新
49a92e9348 fiber io can also stop automaticly when no IO and no timers been set. 2018-01-22 18:38:50 +08:00
zsxxsz
521cdffe83 build ok for vc2003 2018-01-21 18:13:48 +08:00
zsxxsz
768d30a56c fiber for windows OS can use IO read/write with timed waiting by using select/poll;
ACL_VSTREAM's NETWORK IO read/write interface can be hooked by user's IO API.
2018-01-14 22:54:44 +08:00
郑树新
5a45a0d886 win32 message fiber event 2018-01-11 19:13:31 +08:00
zsxxsz
2abefabbc8 add last_nready in aio_handle class getting the count of events. 2018-01-09 23:45:13 +08:00
郑树新
2baa98a8fc fixed one bug in bitmap.cpp when calling reset();
adding win32 gui message event for fiber
2018-01-08 15:21:57 +08:00
zsx
344d370715 modify redis_node class for redis.4.x.x 2018-01-01 11:05:05 +08:00
zsx
e089381026 redis_cluster: support CLUSTER NODES for redis.4.x.x 2018-01-01 10:58:43 +08:00
zsx
612bced38d http_header::add_entry: add param replace for checking if replade the old exist value 2017-12-28 17:55:46 +08:00
zhengshuxin
a418cba784 adding fiber's implement for freebsdd 2016-01-14 13:01:36 +08:00
zsx
57892d3ed0 compile caharset sample error on macos 2017-12-25 13:57:23 +08:00
zsx
10a3f25932 remove one 4.eml file of mime testing because someone thinks it has virus 2017-12-21 18:59:49 +08:00
zsx
638a6b106c vc2010 project: remove trigger.cpp 2017-12-15 12:08:53 +08:00
zsx
27009dac7b changed logger_error to logger 2017-12-14 21:31:00 +08:00
zsx
e8da0142a4 fixed one compiling error with cmake 2017-12-14 18:35:18 +08:00
zsx
4f0e2cc8dd feature: master can bind udp with unix domain path 2017-12-12 19:18:33 +08:00
zsx
fa113a12e7 acl stream and servers support UNIX domain socket in UDP packet mode 2017-12-10 22:23:37 +08:00
zsx
1b164db078 ssl: polarssl_conf's init should not in constructor 2017-12-07 16:24:21 +08:00
zsx
ea896f9aed redis: fixed bugs when objs were binary data 2017-12-05 12:01:24 +08:00
ubuntu14
ea4414c31e polarssl_conf: fixed one bug 2017-12-03 15:16:43 +08:00
ubuntu14
42c1eb8b2d polarssl_conf: fixed one bug when loading polarssl library 2017-12-03 14:54:47 +08:00
ruki
987385ea6e add xmake.lua 2017-11-30 10:04:15 +08:00
郑树新
ad96211014 vc projects: remove private_global.h and add acl_define_macosx.h 2017-11-21 10:58:44 +08:00
郑树新
23f1915473 compiling: support vc2017 2017-11-20 12:15:19 +08:00
郑树新
a00a262f8a build ok on windows 2017-11-14 12:09:33 +08:00
zhengshuxin
781b0a048a add acl::tbox class for transfering messages between multi-threads. 2017-11-14 10:52:44 +08:00
zhengshuxin
859ac18cab string: fixed one bug in operator < and > 2017-11-07 22:58:41 +08:00
zhengshuxin
46cc12739f compiling: fixed compiling error on vc 2017-10-27 16:33:56 +08:00
zhengshuxin
284a672677 redis: fixed one bug in redis_hash::hmset 2017-10-27 00:05:28 +08:00
zhengshuxin
82b7fd1ca6 mbox class: copy constructor is denied. 2017-10-13 09:58:34 +08:00
zhengshuxin
b998731976 building: modify Makefiles to build more quickly on multi-cores CPU 2017-10-10 10:19:59 +08:00
zsx
ac8df09fb6 add event_mutex class into xcode project. 2017-09-25 14:14:02 +08:00
zhengshuxin
1050d4e45f event_mutex: add event_mutex sample in fiber mode; testing event_mutex ok in threads & fibers running modes. 2017-10-08 00:06:12 +08:00
zhengshuxin
e150f36373 modify changes.txt 2017-10-06 23:24:14 +08:00
zhengshuxin
f3835a9844 add self() into thread.hpp 2017-10-06 23:19:37 +08:00
zhengshuxin
ed31366891 add event_mutex class files into vc projects 2017-10-06 23:14:34 +08:00
zhengshuxin
03c4161e6b add samples event_mutex to test event_mutex in lib_acl_cpp 2017-10-06 23:07:39 +08:00
zhengshuxin
cf735fe123 add event_mutex into lib_acl_cpp, which can support threads & fibers
mutex by using IO + atomic as mutex
2017-10-06 23:05:14 +08:00
zhengshuxin
cbab14ffb2 when openning one connection is blocked in peek(), this operation
will block the other threads's when calling peek(), so the open()
should be aparted from lock scope.
2017-10-06 17:53:02 +08:00
zhengshuxin
3d71e10668 fiber: fiber_lock can trigger immediately with IO event 2017-10-01 13:54:57 +08:00
zhengshuxin
563ce8a395 feature: thread_mutex supports recursive parameter;
feature: fiber_mutex supports thread_mutex;
2017-09-29 17:35:17 +08:00
zhengshuxin
83724d3e8a valgrind: free global objects when process exiting to avoid valgrind reporting error. 2017-09-28 12:29:20 +08:00