Commit Graph

50 Commits

Author SHA1 Message Date
e27058d771 added the _instsize field to hcl_t, hcl_server_t, hcl_client_t 2019-06-21 12:36:25 +00:00
a161944682 refactored fmt code 2019-05-31 10:54:13 +00:00
6e5a92a041 refined the msb positioning functions
migrated hcl_isint()/hcl_isbigint() to hcl-prv.h
2019-05-04 17:56:45 +00:00
140682dfc4 reorganized some callback functions into cb-impl.c 2018-11-03 15:57:14 +00:00
8537f8a67f interim commit while adding vmprim.assertfail 2018-11-03 14:05:37 +00:00
7f0428d288 cleaned up some code 2018-11-02 14:15:28 +00:00
19d39ca20a renamed USE_MACH_O to USE_MACH_O_DYLD 2018-10-14 12:01:51 +00:00
9e72cb1ca3 enhanced pfmod loading code 2018-10-14 10:13:24 +00:00
1b59610444 added hcl_getsynerrnum() and enhanced EOF handling 2018-07-28 04:08:09 +00:00
4280387771 added some type castings and changed the type of two variables for iteration 2018-07-01 13:17:42 +00:00
34e5508881 changed the way to set/unset O_NONBLOCK & O_CLOEXEC 2018-06-29 06:27:38 +00:00
deb53399a4 introduced the new type hcl_bitmask_t 2018-04-26 04:39:20 +00:00
687d633c15 changed to call lt_dlinit() and lt_dlexit() as necessary when libltdl is enabled 2018-04-25 04:12:13 +00:00
7c886ae2e3 added hcl_setinloc() and called this on each .SCRIPT command received in the server 2018-04-12 02:50:37 +00:00
9a1b20a47d enhanced the hcl server to write back an error message for input-phase errors 2018-04-12 02:22:17 +00:00
436d67b5eb improved error message handling in hcl server 2018-04-11 09:44:29 +00:00
64acfe3aec restructured client and server code into a single library libhclex.
also migrated socket related functions into the library
2018-04-10 13:57:17 +00:00
13ecb7e337 exported hcl_server_proto_feed_reply() 2018-04-10 09:17:00 +00:00
ae3745d5f3 added HCL_MOD_INCTX to hcl
added HCL_SERVER_MODULE_INCTX to hcl server
2018-04-09 15:54:54 +00:00
e92407221f renamed some function names for naming consistency 2018-04-07 15:54:16 +00:00
3fb9b31192 fixed reply encoding in the unicode mode in the server 2018-03-29 03:08:43 +00:00
0e2c892d8b enhanced server's error handling a bit 2018-03-24 06:06:01 +00:00
e7726ac3db added more error checks 2018-03-23 10:02:08 +00:00
b845bee716 checked O_CLOEXEC availablity 2018-03-22 09:53:16 +00:00
f575bc6add changed the server code to support multiple listening addresses 2018-03-22 09:46:44 +00:00
b7590398f1 implemented simple idle timeout on the server.
added --shutwr to the sample client code
2018-03-22 07:15:19 +00:00
b3c0640ba6 fixed a bug in main-c.c 2018-03-22 04:31:18 +00:00
8be5e3fd83 moved the socket address convertion functions to the main hcl library
enhanced the client library and samples
2018-03-22 03:42:17 +00:00
f675835a11 added reply handler 2018-03-21 10:38:10 +00:00
11dbde8380 fixed a bug in the default log callback 2018-03-19 09:50:56 +00:00
46ff9acfe2 exposed hcl_addbuiltinprims(). 2018-03-19 09:22:12 +00:00
89f3fc2d08 started some code for hcl client 2018-03-18 15:29:16 +00:00
1968f11cdf fixed a logmask handling issue 2018-03-17 11:57:02 +00:00
c41c3a12af enhanced the inclusion path handling in the sample hcl server code
added HCL_SERVER_SCRIPT_INCLUDE_PATH
added optstate field in hcl_server_worker_t
2018-03-17 05:44:40 +00:00
b3cef9ec5c added the used field to hcl_server_wid_map_data_t
started implementing .SHOW-WORKERS and .KILL-WORKER
2018-03-16 17:27:24 +00:00
36ee74f0ec enhanced the log_write callback to use as few write system calls as possible.
changed the hcl server to raise an error if .SCRIPT is not followed by actual script text on the same line
2018-03-16 16:20:40 +00:00
0b7acc1fd8 Added HCL_SERVER_WORKER_MAX_COUNT
changed the main server loop to purge dead clients as soon as the multiplex is finished
2018-03-16 14:57:34 +00:00
70ef4b6299 enhanced the hcl server code to assign an ID to each worker created 2018-03-16 05:56:05 +00:00
a4e05ead91 fixed the hcl server to apply some settings to underlying hcl 2018-03-16 01:46:59 +00:00
2b2da9e780 added the empty hcl-c.h and hcl-c.c files 2018-03-15 15:27:34 +00:00
5dcb376907 enhanced the hcl server implementation further while fixing a couple bugs too 2018-03-15 15:23:51 +00:00
3228386c2c implemented actor_max_runtime primitively using timer events 2018-03-15 10:30:06 +00:00
6f69e018c4 added timer functions 2018-03-15 08:35:38 +00:00
b56218ee25 enhanced the error handling of address conversion failure 2018-03-14 15:01:07 +00:00
b7434aa976 fixed a potential in set_err_with_syserr in hcl-s.c 2018-03-14 14:54:10 +00:00
de534fed83 cleaned up code a bit 2018-03-14 14:46:23 +00:00
25b71a4800 exported hcl_seterrbfmtv(), hcl_seterrufmtv()
added hcl_server_seterrbfmt(), hcl_server_seterrufmt(), hcl_server_seterrbfmtv(), hcl_server_seterrufmtv()
added socket address conversion functions
2018-03-14 14:40:05 +00:00
72fe88548f added .DATA to the chunked output 2018-03-14 10:39:36 +00:00
39749ab847 put the hcl server code into a library 2018-03-14 10:14:38 +00:00
773f09aab2 added hcl-s.c and hcl-s.h 2018-03-13 10:20:50 +00:00