Commit Graph

492 Commits

Author SHA1 Message Date
a4d31da64f enhanced the json reader to include location in some error messages 2021-07-16 10:01:42 +00:00
bc956b757d set const on the first parameter to mio_trim_uchars() and mio_trim_bchars() 2021-07-16 08:12:01 +00:00
07677a7080 added mio_trim_uchars() and mio_trim_bchars() 2021-07-16 08:06:17 +00:00
f8d175a761 defined MIO_SKAD_IP_STRLEN 2021-07-16 07:53:05 +00:00
93a7073e48 added mio_svc_htts_getsockaddr(), mio_dev_sck_getsockaddr(), mio_dev_sck_getpeeraddr() 2021-07-16 02:30:25 +00:00
a7ae566736 added MIO_JSON_LINE_COMMENT 2021-07-14 14:31:19 +00:00
c42427d6ed enhanced json error handling 2021-07-14 13:46:15 +00:00
af9aad6aae fixed some more bugs in the json parser 2021-07-14 11:31:29 +00:00
140e1126ed made the rem parameter optional in mio_json_feed() 2021-07-14 05:42:42 +00:00
33afbfc419 added MIO_JSON_OPTIONAL_COMMA 2021-07-14 05:29:17 +00:00
3e0654e131 added the new option MIO_JSON_PERMIT_WORD_KEY 2021-07-14 05:22:03 +00:00
72422be8b8 added the new option MIO_JSON_PERMITWORDKEY 2021-07-14 05:18:19 +00:00
d6b196fbf1 fixed a json reader to accept a non-array/object at the start level 2021-07-14 03:22:51 +00:00
a7cbda7208 enhanced the json writer function 2021-07-12 17:13:03 +00:00
4cbcc38308 fixed a flaw in the json writer function 2021-07-12 17:04:44 +00:00
e516c64beb allows 'e' in string-to-integer converts 2021-07-12 16:47:19 +00:00
f84fb9b8cd added ac/test-driver 2021-07-12 14:41:22 +00:00
f1b9fcfdd0 added the E notation support to some string-to-integer functions 2021-07-12 14:40:51 +00:00
802b8038bd added check for net/bpf.h in configure.ac 2020-11-16 16:55:22 +00:00
330135bb26 cleaned up code a bit 2020-11-16 16:52:49 +00:00
2a561ad46b attempting to wrap over bpf 2020-11-16 15:40:20 +00:00
483c855ff2 changed -lmio to ../lib/libmio.la in bin/Makefile.am 2020-11-16 13:10:15 +00:00
5e80418e5a fixed wrong definition of mio_skad_alt_t
made skad clearing safer
2020-11-15 13:15:33 +00:00
43330b44b6 removed unneeded tests from configure.ac
fixed a flaw in lib/Makefile.am
2020-11-15 05:14:52 +00:00
f59332b88a made build files consistent 2020-11-15 05:05:59 +00:00
cce59d49e8 fixed some build issues 2020-11-15 04:02:47 +00:00
191179f2ad fixed build files 2020-11-15 03:48:15 +00:00
148e1468b7 added floating-point formatting implementation in basic logging functions.
changed O_CLOEXEC to EPOLL_CLOEXEC in a call to epoll_create1()
2020-11-15 03:40:15 +00:00
088ea05e7b switched ax_lib_mysql.m4 to ax_lib_mariadb.m4 and made it mariadb specific 2020-11-04 07:46:07 +00:00
debe2f8939 regenerated build files 2020-11-04 06:42:34 +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
6f0b17e2e9 removed unneeded substitution in configure.ac 2020-08-19 05:09:51 +00:00
b791056cb3 changed --enable-unicode to --enable-wide-char in configure.ac 2020-08-18 02:48:15 +00:00
ec60fb3a62 got rid of c++ stuffs from configure.ac 2020-08-15 19:05:57 +00:00
68a60f1167 some code changes for easier testing 2020-08-10 17:03:54 +00:00
c5598970d7 implemented primitive idle client detector in htts 2020-08-02 16:07:42 +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
c230c92249 enhanced how to handle an error after mio_dev_make() failure by implementing fail_after_make callbacks in pipe, thr, pro
decided to not call pthread_cancel in thr.c because it's too difficult to get it right
2020-07-31 15:07:28 +00:00
a2e3195417 removed some debugging lines 2020-07-29 18:00:08 +00:00
b1ede90231 removed MIO_SCK_SCK_MAKE_IMPSYSHND 2020-07-29 17:58:15 +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
190c1effc5 added a debug message 2020-07-27 12:10:55 +00:00
0d9347eb21 fixed a simple error handling issue in mio_svc_htts_dothr() 2020-07-27 10:30:16 +00:00
7f9ac81497 simplified code a bit 2020-07-26 17:26:38 +00:00
3684979724 fixed some bugs handling side-channel communication 2020-07-26 09:21:05 +00:00
0843ef057d adding some functions for multi-threading 2020-07-24 17:29:52 +00:00
843ea8d8c1 implemented etag and if-none-match in http-fil.c 2020-07-20 14:08:25 +00:00
18eda3a6b5 changed mio_svc_htts_start() to accept mio_dev_sck_bind_t* instead of mio_skad_t* 2020-07-19 18:55:35 +00:00