Commit Graph

191 Commits

Author SHA1 Message Date
df71944ac6 working on http server 2020-05-17 18:09:19 +00:00
1e85b73566 debugging http server's cgi handling 2020-05-16 19:52:50 +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
89335404c8 experimenting for htts implementation 2020-05-07 15:47:33 +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
b9a47faff6 reverted wrong changes in htre.c 2020-05-06 09:55:35 +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
0087bf8b12 renamed _HEADERS to _HEADER 2020-05-04 17:51:47 +00:00
d9a7bac9f8 added path canonicalization functions 2020-05-04 08:40:05 +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
a69d2401c0 fixed a bug in killing a slave in the pro device 2020-05-01 18:56:33 +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
f1aa019091 added ecs and htb 2020-04-30 16:20:31 +00:00
26b720099c made list management more consistent 2020-04-30 14:48:39 +00:00
d3a74e1075 renamed mio-sys.h to sys-prv.h 2020-04-30 02:28:09 +00:00
8cb48d5665 removed unneeded text from configure.ac 2020-04-30 02:19:50 +00:00
1e46aab4ba added mio_ipad_bytes_to_bcstr() and mio_ipad_bytes_to_ucstr() 2020-04-29 02:57:27 +00:00
ec33f042d3 minor comment changes 2020-04-28 11:33:54 +00:00
c52ce87aa4 fixed a parsing bug of a compressed domain name placed at the end of the packet 2020-04-28 11:27:24 +00:00
a0545235dd fixed wrong conditions in lib/dns.c 2020-04-28 10:27:41 +00:00
b1c205626a added mio_skad_init_for_ip_with_bytes() 2020-04-28 02:44:13 +00:00
56315ef7c5 added hash macros 2020-04-27 15:18:23 +00:00
31885f8cbf enhanced with trivial code changes 2020-04-27 14:09:47 +00:00
5e5ea2ed58 added the default mmgr 2020-04-27 04:15:11 +00:00
4aa4528d28 added mio_dev_getmio() 2020-04-27 04:11:49 +00:00
d8b1619290 minor #include fix in lib/mio-skad.h 2020-04-23 07:24:22 +00:00
1a8cb3610b added some files for future work 2020-03-03 13:47:51 +00:00
252c801544 recorded some TODO items in the comment 2020-03-03 08:49:24 +00:00
497c1b8455 fixed a commented not prefixed with dnl in configure.ac 2020-03-02 13:45:36 +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
247184282f implemented proper tcp packet reading in dnc 2020-02-29 16:56:36 +00:00
9d10edb77e some pseudo code for proper reading over dnc tcp 2020-02-28 08:10:29 +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
72689c179b addeed some dns client code 2020-02-27 08:40:39 +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