Commit Graph

72 Commits

Author SHA1 Message Date
a2904ad30d defined MIO_FEATURE_LOG_WRITER 2021-07-19 04:57:30 +00:00
487a0d19a0 defined MIO_FEATURE_MUX and MIO_FEATURE_LOG 2021-07-17 20:05:16 +00:00
b0040b8454 added the control pipe for internal signaling. partially implemented 2021-07-17 17:21:38 +00:00
d36a148703 some code clean and adding one more kill point for halted devices 2020-11-04 06:36:44 +00:00
5a05a6e9cd changed the return code of mio_gettmrtmout() from -1/0 to 0/1 respectively to avoid unneeded error message manipulation
added mio_add_ntime() and mio_sub_ntime()
2020-09-03 03:56:32 +00:00
e77391da1d added mio_schedtmrjobat() and mio_schedtmrjobafter()
touched up some log messages in sck.c
2020-08-01 15:56:53 +00:00
f7c441b981 improved error handling in mio_dev_make() 2020-07-29 10:04:14 +00:00
07e6a1ac70 added a debug message 2020-07-28 10:21:10 +00:00
fc74064984 fixed a bug in handling sendfile in mio.c 2020-07-19 16:19:18 +00:00
8655269e07 added more sendfile related code 2020-07-19 06:23:43 +00:00
e439c29cb8 added mio_foff_t.
adding sendfile support to the core
2020-07-17 15:28:18 +00:00
7adf19f01d HEAD support in http-fil.c 2020-07-17 10:14:15 +00:00
f2cffc0e6e cleaned up a little 2020-07-16 10:46:17 +00:00
b1e063977b improvement onto http-file.c 2020-07-15 10:30:12 +00:00
d067093082 adding a nonblocking mariadb client device 2020-06-11 17:20:09 +00:00
b112280225 breaking http-svr.c to multiple files 2020-05-25 08:04:30 +00:00
8178d44ec0 fixed the premature EOF reporting caused by a file descriptor added without intention of input/output watching. as EPOLLHUP is always waited for, it caused early EOF reporting 2020-05-24 19:29:35 +00:00
bc9d849b8a fixed some memory leaks in mio_sys_finimux() when EPOLL is enabled.
fixed a double memory free issue in mio_dev_make()
2020-05-24 02:27:54 +00:00
bf595d51f1 added MIO_DEV_CAP_WATCH_STARTED to fix a bug 2020-05-24 02:04:07 +00:00
1f8372f35d fixed to initialize urem in __dev_writev()
added MIO_DEV_SCK_BIND_IGNERR
implemented MIO_DEV_PRO_INTONUL, MIO_DEV_PRO_OUTTONUL, MIO_DEV_PRO_ERRTONUL, MIO_DEV_PRO_DROPIN, MIO_DEV_PRO_DROPOUT, MIO_DEV_PRO_DROERR
2020-05-24 01:18:32 +00:00
0623260ec4 added mio_cfmb_t, mio_addcfmb(), and related functions and macros to handle a memory block that can't be freed immediately 2020-05-23 06:07:43 +00:00
f53acd969d implemented the pipe device 2020-05-21 10:15:57 +00:00
aa5c70c3f5 added mio_dupbcstrs() and mio_dupucstrs()
changed mio_svc_htts_start() to access the main processor callback
2020-05-20 16:14:36 +00:00
f373f367b3 fixed wrong length types in mio_copy_bchars_to_bcstr() and mio_copy_uchars_to_ucstr()
fixed the wrong value defined for MIO_SKAD_TO_OOCSTR_PORT
set various environment variables before starting a cgi script
2020-05-20 14:53:05 +00:00
d95bc9bc92 in the midst of debugging http server code 2020-05-20 10:25:12 +00:00
bdaa548a4a fixed a problem of delayed handling of halted devices when there are no events and timer jobs 2020-05-19 12:09:13 +00:00
fc26f4a6c3 still working on cgi handling in http server 2020-05-19 09:11:39 +00:00
619a7dd318 quite some changes to http server code 2020-05-16 19:12:10 +00:00
98e2838edf made minor changes 2020-05-16 04:52:06 +00:00
57ca185651 changed to clear the on_write callbacks for completed write requestrs after having triggered timer callbacks collectively and also before triggering on_read() for each device
cleaned up debugging messages in dns-cli.c
experimenting with http server implementation
2020-05-15 06:18:49 +00:00
cc74d317a2 fixed some bugs 2020-05-12 17:53:19 +00:00
02a6d5db1e enhanced to maintain client sockets in the http server 2020-05-12 11:46:00 +00:00
6cb06f8b57 changed mio_exec() to kill the device if the on_write callback() returns failure. before this change, mio_exec() also returned -1, causing mio_loop() to abort 2020-05-10 16:20:39 +00:00
e2115286ec enhanced mio_dev_watch and MIO_DEV_WATCH_RENEW.
drafting resource handling code in the http server
2020-05-08 09:48:26 +00:00
0baa0820ae added MIO_DEV_SCK_LENIENT to set on the state field of a socket device
added MIO_DEV_SCK_BIND_LENIENT to use to set MIO_DEV_SCK_LENIENT on a listening socket.
fixed some minor bugs here and there
2020-05-07 04:32:32 +00:00
e96cb2ebb4 added mio_sys_getrealtime()
writing http server
2020-05-06 09:28:36 +00:00
2df338ee9a writing the http server service 2020-05-05 15:12:08 +00:00
f6c4e55337 renamed the link fields of mio_q_t, mio_wq_t, mio_cwq_t 2020-05-03 16:02:56 +00:00
49ad401433 added some http processing code 2020-05-01 18:01:29 +00:00
a2f0fa9c7f added much more support code 2020-05-01 14:00:27 +00:00
26b720099c made list management more consistent 2020-04-30 14:48:39 +00:00
5e5ea2ed58 added the default mmgr 2020-04-27 04:15:11 +00:00
d98397cd1f added mio_dev_sck_setsockopt(), mio_dev_sck_getsockopt()
fixed the ssl part of the stateful socket writev method.
2020-02-23 16:11:32 +00:00
75887e4f74 adding writev support 2020-02-22 18:24:49 +00:00
052e10694d adding mio_dev_timedwritev() 2020-02-21 16:58:41 +00:00
ef50d2458b some code to implement dns over tcp in dnc 2020-02-21 09:42:10 +00:00
6787ee7841 updated copyright years.
attempting to support dns over tcp
2020-02-20 15:35:16 +00:00
c6e3b6204b some dns resolver code 2020-02-11 09:02:46 +00:00
6d357fe1fe added the _instsize field to mio_t and revised mio_getxtn() using the new field 2019-06-21 12:43:50 +00:00
a0f9b567cb enhanced the dns client code with timeout handling, id tracking, etc 2019-04-11 07:26:00 +00:00