8b1ccab4c8
added mio_dns_rcode_to_bcstr(), mio_dns_find_client_cookie_in_msg. deleted the cookie_verified field from mio_dns_pkt_info_t added mio_svc_dnc_checkclientcookie()
hyung-hwan2020-07-04 08:03:36 +00:00
26b95ba5f7
changed dns-cli.c to initialize the dns cookie key
hyung-hwan2020-07-03 15:56:33 +00:00
4f8abcf0c5
added mio_bchars_to_intmax(), mio_uchars_to_intmax(). coded the first working thread interface for the http server
hyung-hwan2020-05-26 01:13:34 +00:00
b112280225
breaking http-svr.c to multiple files
hyung-hwan2020-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
hyung-hwan2020-05-24 19:29:35 +00:00
d622202db1
fixed a bug in cgi_peer_on_write()
hyung-hwan2020-05-24 17:58:08 +00:00
7613f09bed
worked around the premature EOF reporting issue with poll() on NetBSD
hyung-hwan2020-05-24 09:38:08 +00:00
fd930a4173
fixed a bug in sending the final chunk when the cgi script exits with no output
hyung-hwan2020-05-24 07:13:42 +00:00
21d51cbbf9
improved how to clear and set basic environment variables in http-svr.c
hyung-hwan2020-05-24 02:48:51 +00:00
8f7dcbe479
fixed to clear environment variables when clearenv() is not available
hyung-hwan2020-05-24 02:35:13 +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()
hyung-hwan2020-05-24 02:27:54 +00:00
bf595d51f1
added MIO_DEV_CAP_WATCH_STARTED to fix a bug
hyung-hwan2020-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
hyung-hwan2020-05-24 01:18:32 +00:00
7051862205
added clearenv check in configure.ac
hyung-hwan2020-05-23 06:46:55 +00:00
bdd6d55e99
calling clearenv() only if it's avaialble
hyung-hwan2020-05-23 06:44:19 +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
hyung-hwan2020-05-23 06:07:43 +00:00
9ecec52f5f
attempting to support thread resource in http server
hyung-hwan2020-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
hyung-hwan2020-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
hyung-hwan2020-05-20 14:53:05 +00:00
d95bc9bc92
in the midst of debugging http server code
hyung-hwan2020-05-20 10:25:12 +00:00
914dd35b37
checked if a file is executable in mio_svc_htts_docgi()
hyung-hwan2020-05-19 18:07:28 +00:00
bc615bb710
fixed bugs in http server cgi handling
hyung-hwan2020-05-19 18:00:49 +00:00
bdaa548a4a
fixed a problem of delayed handling of halted devices when there are no events and timer jobs
hyung-hwan2020-05-19 12:09:13 +00:00