XieHan
f4456dcf41
add 'const'
2022-09-18 03:34:36 +08:00
XieHan
1503b867dd
Use level trigger on listening
2022-07-17 21:03:43 +08:00
XieHan
6e4fbf1734
Ignore some errors on accepting.
2022-07-16 00:01:30 +08:00
XieHan
8afd011888
Fix bug in mpoller_create()
2022-07-14 13:12:42 +08:00
XieHan
b07a529afb
update Communicator::request
2022-07-11 03:10:19 +08:00
XieHan
7732c73741
fix Communicator::request_idle_conn() retval
2022-07-11 03:04:27 +08:00
XieHan
45d1277083
add Communicator::request_new_conn()
2022-07-10 20:20:32 +08:00
XieHan
8e38effd63
Optimize client requests' locking
2022-07-10 18:15:29 +08:00
XieHan
56425333c9
remove thrdpool's unused 'cond' and simplify codes
2022-07-08 00:50:59 +08:00
XieHan
43ced86665
Update thrdpool.c
2022-06-22 16:46:35 +08:00
XieHan
f13f42bda6
Refactor thrdpool using msgqueue.
2022-06-21 22:53:54 +08:00
XieHan
15f1524067
Call virtual 'handle()' if dispatch failed.
2022-06-13 20:48:45 +08:00
XieHan
51428c4392
use 'sysconf' for max open files
2022-05-15 17:29:50 +08:00
XieHan
86c6ca8f68
make it compatible with c11
2022-04-27 03:42:40 +08:00
XieHan
d2f6c484da
Add CommMessageIn::renew() to reset begin time
2022-04-23 18:49:04 +08:00
XieHan
6b6120c85b
Optimize SSL sync writing.
2022-02-18 20:48:40 +08:00
XieHan
5d30c1de52
optimize SSL write.
2022-01-06 20:56:06 +08:00
XieHan
721892db39
hide CommService's incref() and decref()
2021-11-20 16:04:53 +08:00
XieHan
8fc92f3968
remove CommSession::connect_timeout and response_timeout.
2021-11-10 22:05:28 +08:00
XieHan
2a247a6500
update comment. update rbtree
2021-10-19 02:14:38 +08:00
xiehan
3974c4fc19
Merge pull request #582 from chanchann/chanchan
...
Fixed typo in msgqueue.c annotation
2021-10-04 01:19:43 +08:00
XieHan
7cac784725
Fix 'include' errors
2021-10-04 00:43:03 +08:00
chanchann
c42694ace7
Fixed typo in msgqueue.c annotation
2021-10-02 18:52:23 +08:00
XieHan
82f0df6b01
remove 'errno = EEXIST'
2021-09-05 17:06:13 +08:00
XieHan
2d2f8c0961
optimize poller's memory
2021-09-05 16:23:20 +08:00
XieHan
e26c93cc5e
optimize poller's codes
2021-09-01 01:12:46 +08:00
XieHan
61a2398706
optimize poller's timeout rbtree
2021-08-31 20:40:52 +08:00
XieHan
650da089ec
make WFNetworkTask::push() virtual. Change errno.
2021-08-29 14:15:03 +08:00
XieHan
25a1b81eca
add server task's sync push
2021-08-29 02:37:59 +08:00
XieHan
f104a84295
use EPOLLET for poller's timerfd
2021-08-06 16:58:08 +08:00
XieHan
01b3b47922
allow session level connect/response timeout
2021-07-27 19:33:30 +08:00
XieHan
9e67fa2e84
optimize CommSchedGroup target selection
2021-07-23 01:03:54 +08:00
XieHan
8c2b05233c
make message wrapper compatible with feedback.
2021-07-08 00:59:42 +08:00
XieHan
b6eaff518a
update CommMessageIn::feedback. Update WFMailboxTask
2021-06-19 01:09:14 +08:00
XieHan
a59d6b19c8
Supporting loongson processor.
2021-06-11 19:23:01 +08:00
XieHan
c4a4b3b857
Make sure WFServer's new_connection() returns a WFConnection, and protect CommConnection.
2021-05-22 18:48:56 +08:00
XieHan
f82491fdef
optimize poller on SSL
2021-05-03 00:51:57 +08:00
XieHan
6325e8e776
Support TLS SNI on server side.
2021-04-06 01:53:39 +08:00
holmes1412
ba9a74ea17
support Android in cmake
2021-04-02 19:15:17 +08:00
XieHan
15fc00b67e
support TLS SNI
2021-03-25 20:35:47 +08:00
XieHan
9571d96f4f
add a missed 'const'
2021-02-23 20:13:09 +08:00
XieHan
1d824f492c
make it legal when handler_threads==0
2021-02-06 15:38:03 +08:00
XieHan
e9aa77bce6
update WFServer. Now WFServer::stop() operation will block till all server tasks' series end.
2021-01-15 19:48:25 +08:00
XieHan
4ecac779f5
fix writev() problem when iovcnt==0 on macOS
2020-11-20 20:22:51 +08:00
xiehan and XieHan
beecf7caf4
stddef.h is required by offsetof() ( #81 )
...
* stddef.h is required by offsetof()
Co-authored-by: XieHan <XieHan@sogou-inc.com >
2020-10-01 16:34:16 +00:00
xiehan and XieHan
65473be586
Change some includes to forward declarations ( #57 )
...
* Make thrdpool stronger
* Fix some comments
* fix grammar
* change some include to forward declaration
* remove some typedef
* move codes
Co-authored-by: XieHan <XieHan@sogou-inc.com >
2020-09-18 15:08:43 +00:00
xiehan and XieHan
e831d9523b
Allow thread task to destroy thread pool. Interesting. ( #52 )
...
* Make thrdpool stronger
* Fix some comments
* fix grammar
Co-authored-by: XieHan <XieHan@sogou-inc.com >
2020-09-16 18:21:29 +08:00
xiehan
5f906f3132
Update msgqueue.c
2020-09-14 19:15:27 +00:00
xiehan and XieHan
7a5a818e66
Add some comments ( #46 )
...
Co-authored-by: XieHan <XieHan@sogou-inc.com >
2020-09-13 16:14:52 +00:00
XieHan
7987298d75
Make code styles more consistent with poller.
2020-09-13 01:36:13 +08:00