shuxin zheng
|
e65dbcba3e
|
optimize http server module written by c++11 in libfiber
|
2020-06-25 11:58:01 +08:00 |
|
zhengshuxin
|
640b7b6e02
|
test http_server module of fiber on Linux
|
2020-06-24 17:35:37 +08:00 |
|
shuxin zheng
|
d30e84f888
|
add http server module in fiber written by c++11
|
2020-06-24 16:46:05 +08:00 |
|
zhengshuxin
|
b511572d47
|
optmize go_fiber
|
2020-06-23 11:46:53 +08:00 |
|
shuxin zheng
|
6641dc1cac
|
add lost c++11 header in go_fiber.hpp
|
2020-06-13 14:49:31 +08:00 |
|
shuxin zheng
|
83ba45c98a
|
optimize go fiber api for c++11
|
2020-06-13 14:33:08 +08:00 |
|
shuxin zheng
|
ff74ac0377
|
optimize mem checker module
|
2020-06-13 10:54:34 +08:00 |
|
shuxin zheng
|
c4ae1840d7
|
modify CMakeLists files
|
2020-06-02 16:51:35 +08:00 |
|
zhengshuxin
|
8fb50aa0e6
|
build ok with different gcc version
|
2020-05-13 15:42:50 +08:00 |
|
shuxin zheng
|
95883c415f
|
fixed compiling waring on MacOS
|
2020-02-15 19:26:41 +08:00 |
|
ruki
|
1c0ff5d208
|
update xmake.lua: export public includedirs
|
2019-10-14 09:34:37 +08:00 |
|
zhengshuxin
|
8d4dff9f18
|
building with xmake
|
2019-10-08 16:36:16 +08:00 |
|
zhengshuxin
|
b698693b3c
|
build ok for FreeBSD
|
2016-01-14 14:45:37 +08:00 |
|
zsxxsz
|
2153e5a117
|
format code.
|
2019-08-17 22:04:57 +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 |
|
郑树新
|
cff0958e2c
|
Merge branch 'master' into master
|
2019-06-26 22:52:56 +08:00 |
|
Dep user
|
84e7b857e5
|
fix compile error.
|
2019-06-18 14:02:42 +08:00 |
|
zsxxsz
|
cc202891ec
|
compiling ok on Ubuntu12 32-bits
|
2019-06-17 22:31:43 +08:00 |
|
zsx
|
242250d5e0
|
add tcp_keeper module into xcode project
|
2019-06-11 19:43:24 +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
|
4760ac19c9
|
tcp_keeper: add sync parameter to control if connect the given addr directly
|
2019-04-30 17:54:08 +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 |
|
zsx
|
669f0601e7
|
add comment in fiber_server.cpp
|
2019-03-06 13:57:39 +08:00 |
|
zsx
|
154fd0f71d
|
don't connect first in tcp_keeper
|
2019-01-21 17:42:50 +08:00 |
|
zsx
|
b926d78534
|
optimize tcp_keeper
|
2019-01-17 14:10:59 +08:00 |
|
zsx
|
db2d293a3e
|
tcp_keeper is ok!
|
2019-01-15 11:57:19 +08:00 |
|
郑树新
|
6e9691397a
|
build ok for vc
|
2019-01-14 15:33:51 +08:00 |
|
zsx
|
1edd724a8d
|
fixed one bug in fiber for stopping scheduling automatically
|
2019-01-14 14:34:14 +08:00 |
|
zsx
|
1cd42a9213
|
optimize tcp_keeper
|
2019-01-14 14:34:00 +08:00 |
|
zhengshuxin
|
2081b206c2
|
set free_obj's default value to true
|
2019-01-02 11:25:17 +08:00 |
|
zsx
|
03e2cf0a31
|
optimize tcp_keeper
|
2018-12-31 22:02:21 +08:00 |
|
zsx
|
5bb7daf807
|
tcp_keeper: add ttl controling for connection and connections pools;
http_request/http_client add controling parameters
|
2018-12-29 15:42:03 +08:00 |
|
zsx
|
ea8462f1ef
|
add tcp_keeper class for tcp connections keepalive
|
2018-12-28 21:46:01 +08:00 |
|
zsx
|
0004373bcd
|
fixed bugs of acl_fiber_cond_timedwait in acl_fiber_cond.c
|
2018-12-25 11:32:42 +08:00 |
|
zsx
|
34a8d82734
|
fiber_server.cpp: service can't exit correctly when some connections is still connected.
|
2018-12-20 15:45:52 +08:00 |
|
郑树新
|
fcd083d307
|
build on Windows ok
|
2018-12-14 16:34:28 +08:00 |
|
郑树新
|
efeb4fdabb
|
build for vc
|
2018-12-12 19:12:42 +08:00 |
|
zsx
|
d0d51ec6d1
|
build for macos
|
2018-12-07 13:50:42 +08:00 |
|
郑树新
|
ca7d64f263
|
vc2013 project for libfiber
|
2018-12-07 11:08:19 +08:00 |
|
zsx
|
35315809b9
|
add lost files to vc project
|
2018-12-06 22:07:24 +08:00 |
|
zsx
|
66a560e37f
|
fixed bugs in client_wakeup of acl_threads_server.c;
acl::fiber_tbox and acl::fiber_cond are ok.
|
2018-12-06 15:50:13 +08:00 |
|
zsx
|
ecdb9df01f
|
add ACL_FIBER_COND in fiber_cond.hpp
|
2018-12-01 12:04:36 +08:00 |
|
zsx
|
4db127ec9f
|
optimize fiber_cond and fiber
|
2018-11-30 18:26:46 +08:00 |
|
zsx
|
f75eebde9f
|
add fiber_tbox.hpp
|
2018-11-30 17:20:45 +08:00 |
|
zsx
|
9445201f43
|
add lost file
|
2018-11-30 15:00:28 +08:00 |
|
zsx
|
fb271fd104
|
format to DOS style.
|
2018-11-30 14:38:22 +08:00 |
|
zsx
|
f570318eb6
|
modify fiber_cond
|
2018-11-30 14:36:15 +08:00 |
|
zsx
|
159a0e2760
|
add fiber_cond into libfiber
|
2018-11-30 14:35:58 +08:00 |
|
zsx
|
12c78277c8
|
add fiber_cond in cpp lib
|
2018-11-30 14:35:08 +08:00 |
|
zsx
|
e48753986e
|
fbase_event.c: restart IO when IO process is interrupted by EINTR.
|
2018-11-29 11:28:48 +08:00 |
|
zsx
|
4e5f45068e
|
add one parameter for fiber_event class
|
2018-11-28 16:14:05 +08:00 |
|
zsx
|
2d0cd3ed91
|
acl::fiber_event using FIBER_FLAG_USE_MUTEX as default
|
2018-11-26 09:53:32 +08:00 |
|
zhengshuxin
|
f7af753d9e
|
add one flag when creating fiber_event
|
2018-11-24 11:49:18 +08:00 |
|
zsxxsz
|
96fd5bf486
|
build ok for windows
|
2018-10-31 22:14:09 +08:00 |
|
zsx
|
127f6e0c33
|
acl_set_core_limit can only be used on UNIX-like OS.
|
2018-10-31 17:10:06 +08:00 |
|
zsx
|
ea3d71999a
|
limit the core file's size and disable creating core when process is exiting.
|
2018-10-23 13:29:21 +08:00 |
|
zsx
|
f27af8b424
|
acl support IPV6 is OK now!
|
2018-09-16 21:49:58 +08:00 |
|
zsxxsz
|
c9e5e010a7
|
fixed compiling warning on VC
|
2018-08-19 23:11:36 +08:00 |
|
zsx
|
46f12d39ca
|
using libfiber.h for C and libfiber.hpp for C++
|
2018-08-19 23:03:39 +08:00 |
|
Li Qiang
|
65f7adf0a4
|
fix spelling mistake.
|
2018-08-08 10:46:18 +08:00 |
|
zsx
|
d64d78eb16
|
libfiber can be used on MacOS
|
2018-04-24 14:29:35 +08:00 |
|
zhengshuxin
|
7647c210b7
|
acl build without ACL_PREPARE_COMPILE defined
|
2018-04-17 16:42:26 +08:00 |
|
zsx
|
63f9ac04f8
|
merge from libfiber
|
2018-03-05 11:05:05 +08:00 |
|
zsx
|
3c46adddb3
|
fiber_server: support setting schedule event type in configure.
|
2018-02-05 10:16:52 +08:00 |
|
zsxxsz
|
a0160d2ea1
|
fixed some compiling error on vc2012/2013.
|
2018-02-03 22:35:58 +08:00 |
|
zsx
|
ed330843d7
|
fiber.cpp: closesocket is for winsock
|
2018-01-31 12:00:56 +08:00 |
|
zsxxsz
|
580fdc4f72
|
fiber event: adding iocp for winsock
|
2018-01-30 23:45:34 +08:00 |
|
zsxxsz
|
2e38ce1365
|
fiber schedule process can be triggered automaticly.
|
2018-01-28 12:34:23 +08:00 |
|
zsx
|
dbc586c33b
|
fiber_server: master_debug configure item should be used other than fiber_log_debug
|
2018-01-23 16:55:03 +08:00 |
|
zsx
|
5391987156
|
fixed channel.cpp in fiber compiling error
|
2018-01-18 14:37:06 +08:00 |
|
郑树新
|
0244606e67
|
remove FIBER_API in channel.hpp for compiling with no error on Windows & Unix
|
2018-01-16 14:28:42 +08:00 |
|
zsxxsz
|
c2a2d1b579
|
building fiber lib and samples are all ok by vc2012 and vc2013
|
2018-01-13 23:24:45 +08:00 |
|
zsxxsz
|
63c9decbbd
|
acl fiber can be used on win32 GUI messsage
|
2018-01-11 00:11:15 +08:00 |
|
郑树新
|
7f35e9236f
|
acl fiber can now support win32 gui message engine
|
2018-01-10 17:48:45 +08:00 |
|
zsxxsz
|
3543cdda46
|
prepare for win gui message fiber
|
2018-01-07 23:22:38 +08:00 |
|
zsxxsz
|
7fced0b33a
|
some charset warning on vc
|
2018-01-06 23:18:40 +08:00 |
|
zsxxsz
|
45999c8bba
|
fiber project: add vc2012 and vc2013 projects
|
2018-01-06 23:18:04 +08:00 |
|
zhengshuxin
|
06ce51b912
|
changes "\r\n" to "\n"
|
2017-09-22 12:27:21 +08:00 |
|
zsx
|
068f885d8f
|
fiber's Makefile should mkdir debug automaticlly
|
2017-12-25 10:29:30 +08:00 |
|
zsx
|
bb49d5c617
|
move some API from fiber's internal to outer for using easily
|
2017-12-24 21:53:11 +08:00 |
|
zsx
|
c8fe74f03e
|
fiber: fixed compiling error with cmake
|
2017-12-23 20:54:08 +08:00 |
|
zsx
|
f5ccd3a22c
|
fixed build fiber error by xmake
|
2017-12-21 22:51:00 +08:00 |
|
zsx
|
e1a32b11ad
|
add lost files in fiber
|
2017-12-21 21:40:17 +08:00 |
|
zsx
|
64b6a0eb6d
|
fiber_server.cpp should open REUSEPORT flag when runing alone with multi-threads
|
2017-12-21 11:23:58 +08:00 |
|
zsx
|
124ebc564c
|
build fiber cpp lib
|
2017-12-20 23:33:12 +08:00 |
|
zsx
|
f1947a43d6
|
replace fiber module with the new libaray.
|
2017-12-20 23:30:33 +08:00 |
|
zsx
|
f8c5ac970b
|
rename fiber_server.c to fiber_server.cpp and put it into cpp's path
|
2017-12-20 23:28:17 +08:00 |
|
ruki
|
987385ea6e
|
add xmake.lua
|
2017-11-30 10:04:15 +08:00 |
|
zsx
|
2f81af614b
|
samples: fiber_event's sample changed.
|
2017-11-24 11:40:01 +08:00 |
|
zsx
|
8fca8bc485
|
fiber_event: delete unused codes.
|
2017-11-24 11:27:05 +08:00 |
|
zsx
|
3a290a2718
|
fiber lock: add comments
|
2017-11-24 11:25:05 +08:00 |
|
zsx
|
450d06a66c
|
fier: add acl_fiber_event_trywait
|
2017-11-24 11:10:44 +08:00 |
|
zsx
|
0ee5df1899
|
fiber: add fiber_event for synchronize between threads and fibers
|
2017-11-24 10:39:53 +08:00 |
|
zsx
|
acac0ad2f8
|
fiber_lock: use the new fiber event lock with high performance.
|
2017-11-23 12:59:24 +08:00 |
|
zhengshuxin
|
76889c5b35
|
master: supporting start service with absolute path
|
2017-11-07 11:54:12 +08:00 |
|
centos6.9-32
|
beb5b6ec98
|
fiber: add API can get/set system errno
|
2017-10-16 22:41:10 -07:00 |
|
zhengshuxin
|
1d5d556bfd
|
fiber_lock: use thread muext as default
|
2017-10-14 23:18:15 +08:00 |
|
zhengshuxin
|
580c4023d1
|
fiber_lock: disable EVENT notify
|
2017-10-13 10:32:50 +08:00 |
|
zhengshuxin
|
41a391b39c
|
fiber_lock: test io mode
|
2017-10-11 23:15:13 +08:00 |
|
zhengshuxin
|
cde67b5b30
|
fiber_lock: test
|
2017-10-11 19:29:11 +08:00 |
|
zhengshuxin
|
57e4c8663d
|
thread_lock: fixed bug
|
2017-10-10 14:05:57 +08:00 |
|
zhengshuxin
|
9970075fa1
|
fiber_mutex: fixed one bug when thread_safe parameter is set true
|
2017-10-10 11:47:35 +08:00 |
|
zhengshuxin
|
cd5b074aa5
|
fiber_lock: in_ and out_ should be set to -1 if thread_safe is false
|
2017-10-09 15:28:16 +08:00 |
|
zhengshuxin
|
29513259ed
|
fiber_lock: can use thread_mutex or atomic lock for threads safety mutex
|
2017-10-08 14:42:01 +08:00 |
|
zhengshuxin
|
4a64289643
|
test event_mutex & fiber_lock
|
2017-10-08 12:07:17 +08:00 |
|
zhengshuxin
|
ae17076f4a
|
fiber_lock: add logger info when eventfd error
|
2017-10-01 21:34:24 +08:00 |
|
zhengshuxin
|
3d71e10668
|
fiber: fiber_lock can trigger immediately with IO event
|
2017-10-01 13:54:57 +08:00 |
|
zhengshuxin
|
ffd5e43647
|
fiber_mutex: when blocked by thread mutex, the current fiber will be swapout
|
2017-09-29 23:15:42 +08:00 |
|
zhengshuxin
|
eb913000c1
|
fiber_mutex: auto check fiber::scheduled()
|
2017-09-29 17:55:46 +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
|
31fc50166c
|
add trigger.hpp into all vc's projects;
add trigger sample for fiber trigger;
|
2017-09-18 22:28:52 +08:00 |
|
zhengshuxin
|
08e241acb8
|
add trigger.hpp for trigger events by time.
|
2017-09-18 18:59:59 +08:00 |
|
zhengshuxin
|
101ad0e6e1
|
fiber server template can tell master its status after reloading
|
2017-09-10 17:16:06 +08:00 |
|
zhengshuxin
|
c9f0a6b92e
|
add fiber timer for C++ module
|
2017-08-25 13:34:48 +08:00 |
|
zhengshuxin
|
0a1c077f0d
|
automatilly check g++'s version for supporting C++11
|
2017-08-09 11:23:15 +08:00 |
|
zhengshuxin
|
fbf37b7237
|
remove master_base.hpp from master_fiber.hpp;
remove lib_acl.h from lib_fiber.h;
|
2017-07-27 18:16:39 +08:00 |
|
zhengshuxin
|
e88320a6df
|
modify header of fiber library.
|
2017-07-26 19:09:48 +08:00 |
|
zhengshuxin
|
93b3250ca5
|
add methods that get configure path
|
2017-07-22 21:32:21 +08:00 |
|
zhengshuxin
|
98d11361bb
|
test sighup callback ok for all server template.
|
2017-07-05 10:27:33 +08:00 |
|
zhengshuxin
|
88d6f6c44f
|
all server templates support SIGHUP callback.
|
2017-07-04 23:33:28 +08:00 |
|
zhengshuxin
|
29f3ef3b73
|
supporting for IPV6
|
2017-04-11 23:14:39 +08:00 |
|
zhengshuxin
|
d167d8f85d
|
fixed fiber's errors;
add feature in some modules.
|
2017-03-31 23:04:16 +08:00 |
|
zhengshuxin
|
57f8afc403
|
modify acl Makefiles to renaming lib names.
|
2017-03-25 23:05:44 +08:00 |
|
zhengshuxin
|
3cd0864746
|
supporting ios and can be compiled by xcode.
|
2017-03-12 14:49:48 +08:00 |
|
zhengshuxin
|
09e4b0d381
|
migrate to Android platform OK!
|
2017-02-12 21:39:38 +08:00 |
|
zhengshuxin
|
5e1bd3c5d9
|
migrating acl to android;
modify fiber id to unsigned int.
|
2017-01-23 16:59:58 +08:00 |
|
zhengshuxin
|
627ec25f93
|
fixe one bug of acl_fiber_killed() in fiber.c.
|
2017-01-05 14:31:41 +08:00 |
|
zhengshuxin
|
06fa2499fa
|
fixed bugs in lib_fiber; add features in http module.
|
2016-12-29 23:58:18 +08:00 |
|
zhengshuxin
|
19f2c0b0d2
|
fiber lock can be killed.
|
2016-12-08 13:13:30 +08:00 |
|
zhengshuxin
|
1b6d166ef6
|
add acl_fiber_kill for fiber lib;
add listen callback for master template.
|
2016-12-03 20:09:21 +08:00 |
|
zhengshuxin
|
522ab347e6
|
changed functions' name in lib_fiber
|
2016-09-22 22:50:45 +08:00 |
|
zhengshuxin
|
6f8105136a
|
fixed bugs in read line functions of acl_vstream.c; add c++11 into fiber.
|
2016-09-07 19:58:19 +08:00 |
|
zhengshuxin
|
6852d39ed2
|
fixed one bug in acl_urlcode.c, add c++11 in fiber, and add sha1
|
2016-09-01 20:00:58 +08:00 |
|
ubuntu14
|
8c3a44218a
|
fixed some compiling warning.
|
2016-08-19 22:31:05 +08:00 |
|
ubuntu14
|
271fc96cdf
|
add master web monitor by master_fiber mode; arrange codes; add methods to json module;
|
2016-07-29 16:43:46 +08:00 |
|
ubuntu14
|
1db0998bad
|
fixed compiling warning by gcc6.1
|
2016-07-10 19:12:54 +08:00 |
|
ubuntu14
|
8ef7853f19
|
add semaphore for lib_fiber
|
2016-07-09 21:58:21 +08:00 |
|
ubuntu14
|
76f3b9fc04
|
add acl prefix for eash function and struct in lib_fiber
|
2016-07-05 15:19:05 +08:00 |
|
ubuntu14
|
5cf6d7ba0f
|
make lib_fiber more available!
|
2016-06-30 22:20:30 +08:00 |
|
ubuntu14
|
1d6b02b579
|
lib_fiber more available now!
|
2016-06-24 10:39:05 +08:00 |
|
ubuntu14
|
df3a3d0b39
|
remove files
|
2016-06-24 10:37:39 +08:00 |
|
ubuntu14
|
f9ff6f0a73
|
fixed some bugs in lib_fiber; add master_fiber for master framework
|
2016-06-23 13:34:54 +08:00 |
|