|
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 |
|
|
fc74064984
|
fixed a bug in handling sendfile in mio.c
|
2020-07-19 16:19:18 +00:00 |
|
|
8655269e07
|
added more sendfile related code
|
2020-07-19 06:23:43 +00:00 |
|
|
e439c29cb8
|
added mio_foff_t.
adding sendfile support to the core
|
2020-07-17 15:28:18 +00:00 |
|
|
7adf19f01d
|
HEAD support in http-fil.c
|
2020-07-17 10:14:15 +00:00 |
|
|
f2cffc0e6e
|
cleaned up a little
|
2020-07-16 10:46:17 +00:00 |
|
|
a20c539390
|
used posix_fadvise in lib/http-fil.c
|
2020-07-16 04:18:01 +00:00 |
|
|
b1e063977b
|
improvement onto http-file.c
|
2020-07-15 10:30:12 +00:00 |
|
|
59fc7d23a0
|
wrote some code in http-fil.c
|
2020-07-13 10:01:42 +00:00 |
|
|
953dbd730b
|
more htts file code
|
2020-07-09 09:54:13 +00:00 |
|
|
ffcea4095a
|
trying to add file support in htts
|
2020-07-08 05:24:40 +00:00 |
|
|
7ac3b8b078
|
added MIO_SVC_DNC_RESOLVE_FLAG_DNSSEC
|
2020-07-04 16:37:46 +00:00 |
|
|
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()
|
2020-07-04 08:03:36 +00:00 |
|
|
26b95ba5f7
|
changed dns-cli.c to initialize the dns cookie key
|
2020-07-03 15:56:33 +00:00 |
|
|
dd83db4943
|
touched up utl-siph.c
|
2020-07-03 13:18:16 +00:00 |
|
|
8dd3bc6e7f
|
fixed a bug in the sip hash function
|
2020-07-03 13:03:35 +00:00 |
|
|
9def1d8e21
|
changed the initial data for sip hash
|
2020-07-03 12:43:51 +00:00 |
|
|
b738aa4242
|
try to debug siphash
|
2020-07-03 10:03:53 +00:00 |
|
|
74b93843f4
|
added a sip hash function
|
2020-07-03 06:36:43 +00:00 |
|
|
5fdf4f780d
|
more dns cookie handling code
|
2020-07-02 14:21:47 +00:00 |
|
|
fe478e954d
|
work in progress - implementing the dns cookie support in mio_svc_dnc_resolve()
|
2020-07-01 15:54:23 +00:00 |
|
|
970deb9966
|
minor code cleanup
|
2020-07-01 09:40:34 +00:00 |
|
|
3c77ca433b
|
trying to implement dns cookie handling
|
2020-06-30 16:11:39 +00:00 |
|
|
8f8c32c525
|
fixed some faults in dns.c
|
2020-06-25 03:08:22 +00:00 |
|
|
9d91b96cf7
|
fixed wrong functions names in mar-cli.c
|
2020-06-24 09:09:56 +00:00 |
|
|
0d745ce3d4
|
added mio_dev_mar_escapebchars() and mio_svc_marc_escapebchars()
|
2020-06-24 07:37:11 +00:00 |
|
|
9b429cfd3c
|
fixed quite some issues mar.c and mar-cli.c regarding broken underlying sockets in libmariadbclient
|
2020-06-24 03:00:46 +00:00 |
|
|
dce9353bc8
|
added the mio_svc_marc_dev_error_t type
|
2020-06-21 15:30:44 +00:00 |
|
|
31d92b9292
|
enhancing the mariadb client service
|
2020-06-21 08:42:36 +00:00 |
|
|
dedc6082d3
|
wrote mote mariadb client service code
|
2020-06-19 09:17:42 +00:00 |
|
|
364acf2b41
|
more experimental code
|
2020-06-18 09:28:36 +00:00 |
|
|
6a38a82c7f
|
added some unworking code in mar-cli.c
|
2020-06-17 13:53:38 +00:00 |
|
|
044120a4d9
|
improved decimal handling in lib/json.c
|
2020-06-17 13:36:49 +00:00 |
|
|
e98b3a37c0
|
fixed a feeding loop bug in bin/t03.c
|
2020-06-17 09:51:20 +00:00 |
|
|
61d1f8abd9
|
started writing the mariadb client service
|
2020-06-14 16:09:17 +00:00 |
|
|
4470e7705c
|
touched up lib/maria.c
|
2020-06-12 07:54:00 +00:00 |
|
|
9338735aea
|
adding a primitive mariadb client device
|
2020-06-12 06:03:00 +00:00 |
|
|
d067093082
|
adding a nonblocking mariadb client device
|
2020-06-11 17:20:09 +00:00 |
|
|
eea395e130
|
added mio_jsonwr_writeuintmax() and mio_jsonwr_writeintmax()
|
2020-06-09 15:39:48 +00:00 |
|
|
57587a5454
|
fixed a minor glitch in bin/t03.c
|
2020-06-09 05:52:30 +00:00 |
|
|
b8f96c0b74
|
captured X-HTTP-Method-Override in http-thr.c
|
2020-06-08 18:11:36 +00:00 |
|
|
a910dd533c
|
enhanced the json reader to handle unicode surrogate pairs
|
2020-06-08 11:08:22 +00:00 |
|
|
9e0161c58f
|
added '\a' and '\v' to json escaping
|
2020-06-08 09:25:09 +00:00 |
|
|
52ddb45e75
|
renamed dictionary to object in json code
|
2020-06-07 14:44:54 +00:00 |
|
|
378f148f73
|
added the container_state parameter to the mio_json_instcb_t callback
|
2020-06-06 19:45:11 +00:00 |
|
|
2174c1bd9b
|
enhanced mio_json_instcb_t to accept a position with a parent container
|
2020-06-06 18:53:09 +00:00 |
|
|
fef7c29e70
|
removed duplicate code
|
2020-06-03 07:57:15 +00:00 |
|
|
c2c3d00ff2
|
added the rctx field to mio_json_t
changed mio_json_instcb_t to get passed the content pointer
|
2020-06-02 09:49:08 +00:00 |
|
|
cfd80f778c
|
added MIO_HTTP_PATCH
|
2020-06-02 09:43:55 +00:00 |
|
|
3752a0f4c4
|
enhanced htrd to extract the anchor part from the requested URI.
added mio_htre_getqanchor()
|
2020-06-02 06:41:20 +00:00 |
|
|
e194ed01ff
|
added mio_jsonwr_writerawuchars()
|
2020-06-01 09:09:40 +00:00 |
|
|
a281cfaceb
|
added mio_jsonwr_writerawbytes()
|
2020-06-01 09:05:47 +00:00 |
|
|
3e45c5cfdf
|
added more json write macros
|
2020-06-01 09:01:46 +00:00 |
|
|
775a9b4735
|
added the ctx parameter to the json write callback
|
2020-06-01 08:52:43 +00:00 |
|
|
25e3744571
|
added more json writing macros for convenience
|
2020-06-01 07:32:28 +00:00 |
|
|
0ec6a6cb58
|
implemented a primitive json writer - needs much more improvement
|
2020-05-31 17:36:11 +00:00 |
|
|
4fa9f7f295
|
adding bin/t03.c
|
2020-05-30 06:58:55 +00:00 |
|
|
7c726ee1da
|
enhanced json code
|
2020-05-30 06:57:37 +00:00 |
|
|
b895566323
|
adding a simple json reader
|
2020-05-29 11:35:20 +00:00 |
|
|
ac2cbddd67
|
changed to use MIO_IP4ADDR_LEN and MIO_IP6ADDR_LEN in some functions
|
2020-05-27 15:03:10 +00:00 |
|
|
a40827b07b
|
added mio_uchars_to_ipad_bytes() and mio_bchars_to_ipad_bytes()
|
2020-05-27 14:53:48 +00:00 |
|
|
10475bb7fd
|
added mio_uchars_to_uintmax() and mio_bchars_to_uintmax()
|
2020-05-27 10:04:13 +00:00 |
|
|
9d2147c245
|
added MIO_ZDIGIT_TO_NUM()
|
2020-05-27 09:53:55 +00:00 |
|
|
349d0f0181
|
added mio_perdec_http_bcs()
|
2020-05-27 02:32:51 +00:00 |
|
|
aecf00b6fa
|
trying to migrate an irrelevant function
|
2020-05-26 15:31:39 +00:00 |
|
|
7b1dd536ed
|
added mio_svc_htts_dotxt()
|
2020-05-26 14:58:55 +00:00 |
|
|
469819f8dc
|
added http-txt.c
|
2020-05-26 13:15:25 +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 |
|
|
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 |
|
|
d622202db1
|
fixed a bug in cgi_peer_on_write()
|
2020-05-24 17:58:08 +00:00 |
|
|
c01a84e20b
|
changed mux-poll again
|
2020-05-24 17:40:47 +00:00 |
|
|
829267edd7
|
changed mux-poll implementation
|
2020-05-24 17:25:27 +00:00 |
|
|
7613f09bed
|
worked around the premature EOF reporting issue with poll() on NetBSD
|
2020-05-24 09:38:08 +00:00 |
|
|
fd930a4173
|
fixed a bug in sending the final chunk when the cgi script exits with no output
|
2020-05-24 07:13:42 +00:00 |
|
|
21d51cbbf9
|
improved how to clear and set basic environment variables in http-svr.c
|
2020-05-24 02:48:51 +00:00 |
|
|
8f7dcbe479
|
fixed to clear environment variables when clearenv() is not available
|
2020-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()
|
2020-05-24 02:27:54 +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 |
|
|
7051862205
|
added clearenv check in configure.ac
|
2020-05-23 06:46:55 +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 |
|
|
9c95db02e5
|
implementing mio_dev_thr_t
|
2020-05-21 17:05:40 +00:00 |
|
|
c525007961
|
added two missed lib/Makefile.am
|
2020-05-21 10:30:07 +00:00 |
|
|
f53acd969d
|
implemented the pipe device
|
2020-05-21 10:15:57 +00:00 |
|