Commit Graph

23 Commits (01bfeb620b74f1a29dc236e791fca23d9204c9d5)

Author SHA1 Message Date
Jianhui Zhao 01bfeb620b OOP: Only expose APIs
Hide the implementation details of the structure

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-01-01 18:16:07 +08:00
Jianhui Zhao 2fd658c347 configure the docroot and index page globally.
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-01-01 16:53:14 +08:00
Jianhui Zhao 06e3d76dc9 handler: add new event: UH_EV_HEAD_COMPLETE
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2020-12-26 17:30:28 +08:00
Jianhui Zhao bdd7727d48 Support IPv6
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2020-12-20 17:47:45 +08:00
Jianhui Zhao bb9a1d2a34 example.c: fix load plugin path
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2020-12-18 11:17:14 +08:00
Jianhui Zhao e571a34385 new features: path handler and upload large file
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2020-12-17 23:32:36 +08:00
Jianhui Zhao ee4dbb367f canonical header files
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2020-12-12 14:52:27 +08:00
Jianhui Zhao 0b2c2f4a3b Optimizing source tree
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2020-12-12 14:32:57 +08:00
Jianhui Zhao 28c7e74aa8 Fix memory leak
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2020-10-06 17:56:01 +08:00
Jianhui Zhao 15c2b53bcb example: ignore SIGPIPE
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2020-09-08 22:41:03 +08:00
Jianhui Zhao 9410e7eca9 Support reply data defered
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2020-09-08 22:37:36 +08:00
zhaojh329 96ef9bcda0 Don't const for 'struct uh_str'
Signed-off-by: zhaojh329 <zhaojh329@gmail.com>
2020-09-07 14:31:21 +08:00
zhaojh329 28c8146740 Optimize code and fix gzip encoding
Signed-off-by: zhaojh329 <zhaojh329@gmail.com>
2020-09-07 14:03:01 +08:00
Jianhui Zhao 2844706996 connection: New api: serve_file
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2020-07-02 10:32:19 +08:00
Jianhui Zhao 2c1b2840b1 example.c: Fix parse argument error
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2020-07-02 10:09:12 +08:00
Jianhui Zhao 2674d6c9cb Optimize code by use HTTP_STATUS_xx
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2020-07-01 22:37:58 +08:00
Jianhui Zhao 758b5875c2 connection: New api: get_method and get_method_str
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2020-07-01 22:25:32 +08:00
Jianhui Zhao 8a9f29958f example.c: Fix code style
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2020-07-01 17:31:35 +08:00
Jianhui Zhao 040763a64a Support parse url
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2020-03-14 14:03:48 +08:00
Jianhui Zhao 5f4f6e0d97 support plugin
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2020-03-14 00:25:42 +08:00
Jianhui Zhao 2ff3be7dc1 beautify code style
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2020-03-13 23:09:48 +08:00
Jianhui Zhao 563ad01821 Change the license information
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2019-09-03 15:03:35 +08:00
Jianhui Zhao 471e4fe436 Use libev instead of libubox
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2019-08-31 16:33:08 +08:00