Commit Graph

48 Commits

Author SHA1 Message Date
b895566323 adding a simple json reader 2020-05-29 11:35:20 +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
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
9ecec52f5f attempting to support thread resource in http server 2020-05-21 07:30:14 +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
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
2df338ee9a writing the http server service 2020-05-05 15:12:08 +00:00
0087bf8b12 renamed _HEADERS to _HEADER 2020-05-04 17:51:47 +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
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
4aa4528d28 added mio_dev_getmio() 2020-04-27 04:11:49 +00:00
1a8cb3610b added some files for future work 2020-03-03 13:47:51 +00:00
f9a0f3bc00 added some tcp transport code for dnc 2020-02-28 07:41:25 +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
6787ee7841 updated copyright years.
attempting to support dns over tcp
2020-02-20 15:35:16 +00:00
2332d6a4e7 renamed some utility functions 2020-02-20 14:59:49 +00:00
e73d822d0a added intmax formatting functions 2020-02-20 06:48:43 +00:00
3d20fc7421 reorganized and enhanced socket address functions 2020-02-20 06:00:53 +00:00
201bbf20a1 added unfinished socket address functions 2020-02-16 13:59:41 +00:00
4e6a1b7d85 added some code to implement dns packet parser 2020-02-13 09:31:02 +00:00
2ad04e20da not useful macro reordering 2019-06-24 11:38:13 +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
3f60b8e4e8 refactored the formatter code 2019-05-31 14:31:40 +00:00
2bff2e76fe adding more dns parsing code 2019-04-13 06:04:43 +00:00
a76dc94e0a renamed mio_makedev() to mio_dev_make().
added MIO_SVC_REGISTER() and MIO_SVN_UNREGISTER().
defined mio_svc_t
2019-02-22 08:44:51 +00:00
af86c6a95e more dns code 2019-02-13 10:41:33 +00:00
ac65312bf2 switched to check SSL_new instead of SSL_library_init in configure.ac
fixed a bug of not honoring precision specified with %.* in computing string length given for 's' and 'S'
renamed DEV_CAPA/dev_capa to DEV_CAP/dev_capa
2019-01-31 09:16:44 +00:00
559d125874 fixed error strings.
changed time functions
2019-01-30 10:18:58 +00:00
32abb82f01 refactoring system dependent code 2019-01-29 16:57:16 +00:00
792e4da4c2 changed directory error number setting to mio_seterrxxx() calls
removed mio->renew_watch and moved it to each device by using the MIO_DEV_RENEW_REQUIRED bit
2019-01-29 08:38:12 +00:00
e9c42b28c6 more code fixes 2019-01-28 08:13:06 +00:00
e21acce5c1 more code refactoring 2019-01-27 16:22:55 +00:00
446809d7f4 unfinished refactoring 2019-01-27 02:09:22 +00:00
276d15877d wip: added some primitive system interfacing functions 2019-01-24 18:03:27 +00:00
e19231b104 wip. enhancing log and error handling support 2019-01-24 17:22:04 +00:00
a6d1122e33 added many new files to form fundamental base. wip 2019-01-24 09:53:10 +00:00
0072ab5bd8 kept read timeout after successful read until read is disabled 2019-01-17 08:51:10 +00:00
115031d2ce added moo_dev_timedread() 2019-01-17 08:09:19 +00:00
ec28cccdd3 enhanced mio_killdev() to clear unfired completed write events 2019-01-14 08:45:56 +00:00
306384370c changed to push backward the write completion event into the main loop 2019-01-14 08:33:14 +00:00
0f604972af trimmed some source files 2018-12-12 14:16:49 +00:00
14dc22fd0e renamed stio to mio in source files 2018-12-12 13:15:54 +00:00