Commit Graph

41 Commits

Author SHA1 Message Date
76f42800a5 fixed various bugs in http server handlers
regenrated build files
2023-11-18 16:31:24 +09:00
d2725688e0 implemented the option added in the previous commit 2023-11-17 16:57:12 +09:00
9dccfea7c2 fixed a bug of the child process dangling in http-cgi.c 2023-11-17 00:38:02 +09:00
db8f091b32 fixed a wrong cleanup bug in lib/pro.c
fixed the bugs in various http request handlers
2023-11-16 19:20:50 +09:00
c7e989518f fixed the early task termination issue in http-file.c 2023-11-16 12:29:54 +09:00
0f910de1a6 refactored code in http-txt.c 2023-03-29 01:24:20 +09:00
bb99ebb83d simplified setup_for_content_len() in some files 2023-03-27 01:42:39 +09:00
e5d0946c5f touched up the file handler in http-file.c 2023-03-26 23:46:40 +09:00
e54867e42e touched up http file handler 2023-03-26 03:01:40 +09:00
cbcc33554a refactoring htts with common code pushed to http-svr.c 2023-03-19 05:04:32 +09:00
86fc103711 added hio_svc_htts_task_startreshdr(), hio_svc_htts_task_endreshdr() and others 2023-03-11 02:32:33 +09:00
933d03fe27 shorted code a bit by creating a new function hio_svc_htts_task_buildfinalres() 2023-03-10 01:27:08 +09:00
bafad8ceab moved the csck field to the task header 2023-03-06 03:27:42 +09:00
490591ca32 added hio_parse_http_status_header_value() 2023-03-06 00:40:29 +09:00
0ed8b13259 moved more htts task fields to the header side 2023-03-05 00:55:15 +09:00
ba037f1c71 moved the req_method and req_version to the task header part as task_req_method and task_req_version respectively 2023-03-04 20:26:38 +09:00
99cf88a17a fixing fcgi issues 2023-02-06 22:30:56 +09:00
d3fdb4bed4 some code changes to get rid of compile warnings 2023-01-28 00:41:44 +09:00
3874e2c43a wrote partially working fcgi handler 2023-01-25 01:45:28 +09:00
a7dde21b4d fixed more issue in multiple http task handlers 2023-01-15 00:59:43 +09:00
434c6558fa enhanced the file task handler a bit 2023-01-12 02:02:09 +09:00
eb1f8af86b renamed rsrc to task in the htts service 2023-01-12 00:41:01 +09:00
97133f8c12 fixed quite some segmentation faults in http-thr.c.
similar fixes must be done on other task implementations such as http-file.c
2023-01-11 23:59:41 +09:00
b864800a71 substituted HIO_MEMMOVE() for HIO_MEMCPY() in delete_attribute in lib/rad-msg.c 2023-01-02 07:01:50 +00:00
34e9e03b8c simplified the directory handling callback 2022-12-31 15:20:07 +00:00
8613cbffc4 enhancing the directory handling in http-file.c 2022-12-30 17:18:28 +00:00
42765faff6 refactoring the directory listing function in http-file.c 2022-12-28 07:24:00 +00:00
6fdf9e758b fixed more bugs in http-file.c 2022-12-28 00:20:30 +09:00
f06fe3fc4d fixed many bugs http server code 2022-12-26 17:03:53 +00:00
56bd1af653 directory formatting code in http server file handler 2022-12-23 14:44:55 +00:00
9e285bcc1e adding directory name formatter callback to hio_svc_htts_dofile() - not finished yet 2022-12-21 14:57:52 +00:00
85616b1658 added HIO_SVC_HTTS_FILE_LIST_DIR
updated the file handler to list directory if the option is set
2022-12-21 14:57:51 +00:00
8ea676d337 fixed a memory leak problem in http-file.c 2022-12-17 17:18:43 +00:00
e076a1987b minor code touch-up 2022-12-17 16:17:05 +00:00
ce1bde69b5 fixed the wrong flags check in the http file handler 2022-12-16 16:32:06 +00:00
9808760d64 changed code to use hio_get_mime_type_by_ext() 2022-12-16 16:24:10 +00:00
1ba44dc203 changed hio_svc_htts_dofile() to attempt index.html if a directory is given 2022-12-16 00:24:31 +09:00
855e0fb88e enabled the http file handler to accept POST, PUT, DELETE 2022-10-10 01:41:07 +09:00
7ec3ba3ab7 added --enable-all-static and --with-all-static-libs to ease full static binary builds for selected commands
fixed a bug where the client socket is kept when keep-alive is set. it should have been closed if client EOF is detected regardless of keep-alive
touched up debug messages in http-file.c
2022-10-08 16:47:55 +09:00
913bb7e0b7 added the hio-webs command
added the extension size parameter to hio_svc_htts_start()
added the docker build step
2022-10-07 14:08:40 +09:00
384925992c moved all files to the top-level 2022-10-02 19:30:14 +09:00