Commit Graph

44 Commits

Author SHA1 Message Date
fe478e954d work in progress - implementing the dns cookie support in mio_svc_dnc_resolve() 2020-07-01 15:54:23 +00:00
349d0f0181 added mio_perdec_http_bcs() 2020-05-27 02:32:51 +00:00
7b1dd536ed added mio_svc_htts_dotxt() 2020-05-26 14:58:55 +00:00
1448cc16fd removed a wrong line in t01.c 2020-05-26 02:17:04 +00:00
a987655b29 changed a test program slightly 2020-05-26 01:22:28 +00:00
4f8abcf0c5 added mio_bchars_to_intmax(), mio_uchars_to_intmax().
coded the first working thread interface for the http server
2020-05-26 01:13:34 +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
bdd6d55e99 calling clearenv() only if it's avaialble 2020-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 2020-05-23 06:07:43 +00:00
c441abdbfb cleaning up mio_dev_thr_t code 2020-05-22 19:06:57 +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
fc26f4a6c3 still working on cgi handling in http server 2020-05-19 09:11:39 +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
4282eb979a added mio_svc_htts_setservernamewithbcstr() 2020-05-07 10:10:33 +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
1cd2510bcd defined mio_svc_dnc_send_flag_t to use with mio_svc_dnc_sendmsg() and mio_svc_dnc_sendreq() 2020-03-02 05:16:37 +00:00
b801ff6703 implemented soa rr encoding in dnc 2020-03-02 04:58:22 +00:00
aeba287690 added MIO_SVC_DNC_RESOLVE_FLAG_PREFER_TCP.
added an additional parameter 'prefer_tcp' to mio_svc_dnc_sendreq() and mio_svc_dnc_sendmsg()
2020-03-01 17:43:42 +00:00
f9a0f3bc00 added some tcp transport code for dnc 2020-02-28 07:41:25 +00:00
d717c25a2b changed on_reply to on_done in dns client code
added some tcp transport code in dns client
2020-02-27 17:34:27 +00:00
71ffd4ce17 changed mio_dev_sck_connect() to not fire on_connect() callback inside itself upon immediate successful connect.
fixed some issues in dns related code
2020-02-25 07:09:20 +00:00
9ef09941c3 initialized capa to 0 in to_dn_capa() 2020-02-24 17:14:21 +00:00
8264142dbe enhanced dns packet builder to encode some rrdata 2020-02-24 16:39:29 +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
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
f5f8b9e2b4 enhanced mio_equal_skads() 2020-02-20 10:07:12 +00:00
e19490a505 changed to remember the server address for each dns message sent 2020-02-20 06:21:53 +00:00
3d20fc7421 reorganized and enhanced socket address functions 2020-02-20 06:00:53 +00:00
73eff3822b added PTR parsing.
added string to skad conversion functions
2020-02-19 14:59:06 +00:00
ee0fe1b408 enhanced rr data parsing 2020-02-17 14:54:21 +00:00
201bbf20a1 added unfinished socket address functions 2020-02-16 13:59:41 +00:00
a3b2645cb7 implemented dnc resolve retries 2020-02-16 11:03:25 +00:00
5b9fb40ba5 attempting to implement retries in dnc resolve 2020-02-14 16:55:04 +00:00
11e50cd5c8 simplified mio_svc_dnc_resolve(), mio_svc_dnc_sendreq().
changed the above and some similar functions to return mio_dns_msg_t*
changed them to accept extension space size
2020-02-14 10:06:29 +00:00
4e6a1b7d85 added some code to implement dns packet parser 2020-02-13 09:31:02 +00:00
d0906bb8ac implemented dns domain parser in a packet 2020-02-12 10:06:05 +00:00
42fe77bde5 attempting to add a dns packet parser 2020-02-11 15:51:41 +00:00
c6e3b6204b some dns resolver code 2020-02-11 09:02:46 +00:00
cff18d2067 added the bin directory and moves files for binary commands into it 2019-05-14 04:25:38 +00:00