Jianhui Zhao
|
abaedeeac2
|
build: Fix check dlopen
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
|
2020-04-06 12:18:05 +08:00 |
Jianhui Zhao
|
b4adc20935
|
Bump version 3.1.2
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
|
2020-04-05 00:50:14 +08:00 |
Jianhui Zhao
|
ac25a305fe
|
build: Check if libdl exists in the system
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
|
2020-04-05 00:47:29 +08:00 |
Jianhui Zhao
|
df0610c1f6
|
Bump version 3.1.1
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
|
2020-04-03 21:46:46 +08:00 |
Jianhui Zhao
|
08c8f6ee79
|
src/CMakeLists.txt: fix static build with openssl
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
|
2020-04-03 21:45:52 +08:00 |
Jianhui Zhao
|
350e520dfe
|
Fix src/CMakeLists.txt
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
|
2020-03-24 11:08:31 +08:00 |
Jianhui Zhao
|
f3a62126b3
|
Bump version 3.1.0
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
|
2020-03-14 14:14:22 +08:00 |
Jianhui Zhao
|
f51903664e
|
Fix return value while parse header
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
|
2020-03-14 14:10:45 +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
|
c40fcccd95
|
Fix compile error
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
|
2020-03-14 00:08:44 +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
|
eb66e8e36f
|
http-parser: Use submodule
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
|
2020-03-06 13:48:48 +08:00 |
Jianhui Zhao
|
af528ac2ac
|
Bump version 3.0.2
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
|
2020-02-07 17:31:39 +08:00 |
Jianhui Zhao
|
b1fcf378f7
|
Fix README
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
|
2020-02-07 17:31:01 +08:00 |
Jianhui Zhao
|
7ff34b7319
|
buffer: sync from upstream
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
|
2020-02-07 17:29:46 +08:00 |
Jianhui Zhao
|
a0f308b0cb
|
Merge pull request #6 from DongCai008/master
Fix compile error when using glibc in openwrt
|
2019-11-06 17:56:04 +08:00 |
Dong Cai
|
b01d2200af
|
Fix compile error when using glibc in openwrt env
[ 66%] Built target uhttpd
make[6]: Entering directory '/home/xxx/openwrt-compile/openwrt/build_dir/target-x86_64_glibc/libuhttpd-nossl/libuhttpd-2.0.3'
make[6]: Leaving directory '/home/xxx/openwrt-compile/openwrt/build_dir/target-x86_64_glibc/libuhttpd-nossl/libuhttpd-2.0.3'
make[6]: Entering directory '/home/xxx/openwrt-compile/openwrt/build_dir/target-x86_64_glibc/libuhttpd-nossl/libuhttpd-2.0.3'
[ 75%] Linking C executable helloworld
/home/xxx/openwrt-compile/openwrt/staging_dir/target-x86_64_glibc/usr/lib/liblua.so: undefined reference to `sinh'
/home/xxx/openwrt-compile/openwrt/staging_dir/target-x86_64_glibc/usr/lib/liblua.so: undefined reference to `ceil'
/home/xxx/openwrt-compile/openwrt/staging_dir/target-x86_64_glibc/usr/lib/liblua.so: undefined reference to `atan2'
/home/xxx/openwrt-compile/openwrt/staging_dir/target-x86_64_glibc/usr/lib/liblua.so: undefined reference to `tanh'
/home/xxx/openwrt-compile/openwrt/staging_dir/target-x86_64_glibc/usr/lib/liblua.so: undefined reference to `atanh'
/home/xxx/openwrt-compile/openwrt/staging_dir/target-x86_64_glibc/usr/lib/liblua.so: undefined reference to `cosh'
/home/xxx/openwrt-compile/openwrt/staging_dir/target-x86_64_glibc/usr/lib/liblua.so: undefined reference to `fmod'
/home/xxx/openwrt-compile/openwrt/staging_dir/target-x86_64_glibc/usr/lib/liblua.so: undefined reference to `acosh'
/home/xxx/openwrt-compile/openwrt/staging_dir/target-x86_64_glibc/usr/lib/liblua.so: undefined reference to `acos'
/home/xxx/openwrt-compile/openwrt/staging_dir/target-x86_64_glibc/usr/lib/liblua.so: undefined reference to `sin'
/home/xxx/openwrt-compile/openwrt/staging_dir/target-x86_64_glibc/usr/lib/liblua.so: undefined reference to `atan'
/home/xxx/openwrt-compile/openwrt/staging_dir/target-x86_64_glibc/usr/lib/liblua.so: undefined reference to `asin'
/home/xxx/openwrt-compile/openwrt/staging_dir/target-x86_64_glibc/usr/lib/liblua.so: undefined reference to `exp'
/home/xxx/openwrt-compile/openwrt/staging_dir/target-x86_64_glibc/usr/lib/liblua.so: undefined reference to `tan'
/home/xxx/openwrt-compile/openwrt/staging_dir/target-x86_64_glibc/usr/lib/liblua.so: undefined reference to `cos'
/home/xxx/openwrt-compile/openwrt/staging_dir/target-x86_64_glibc/usr/lib/liblua.so: undefined reference to `log'
/home/xxx/openwrt-compile/openwrt/staging_dir/target-x86_64_glibc/usr/lib/liblua.so: undefined reference to `pow'
/home/xxx/openwrt-compile/openwrt/staging_dir/target-x86_64_glibc/usr/lib/liblua.so: undefined reference to `log10'
/home/xxx/openwrt-compile/openwrt/staging_dir/target-x86_64_glibc/usr/lib/liblua.so: undefined reference to `sqrt'
/home/xxx/openwrt-compile/openwrt/staging_dir/target-x86_64_glibc/usr/lib/liblua.so: undefined reference to `asinh'
/home/xxx/openwrt-compile/openwrt/staging_dir/target-x86_64_glibc/usr/lib/liblua.so: undefined reference to `floor'
|
2019-11-05 21:51:16 -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
|
f382038269
|
Bump version 3.0.1
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2019-08-31 18:26:49 +08:00 |
Jianhui Zhao
|
6f2357d4cd
|
Fix build error on 32-bit platform
cast to pointer from integer of different size
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2019-08-31 18:23:02 +08:00 |
Jianhui Zhao
|
ce6f1e0f2c
|
Fix type
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2019-08-31 17:08:41 +08:00 |
Jianhui Zhao
|
334c2f2e5f
|
Bump version 3.0.0
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2019-08-31 17:03:32 +08:00 |
Jianhui Zhao
|
a94ce74860
|
Update README
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2019-08-31 16:56:51 +08:00 |
Jianhui Zhao
|
99505ae0f1
|
Fix ci
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2019-08-31 16:55:19 +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 |
Jianhui Zhao
|
b8248347fa
|
Lua binding: Fix bug: Memory leak
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2018-07-25 21:02:46 +08:00 |
Jianhui Zhao
|
34e94f6d5e
|
Lua binding: Make the code more robust
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2018-07-25 13:19:38 +08:00 |
Jianhui Zhao
|
deaec21076
|
Lua binding: Optimize code
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2018-07-25 11:08:59 +08:00 |
Jianhui Zhao
|
ddf6e8dd86
|
libuhttpd: New callback: on_accept
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2018-07-23 23:42:16 +08:00 |
Jianhui Zhao
|
f21e2001e1
|
Lua binding: Optimize code
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2018-07-23 23:29:12 +08:00 |
Jianhui Zhao
|
6f756b6d99
|
Optimization function name
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2018-07-23 23:11:43 +08:00 |
Jianhui Zhao
|
622ff0c03f
|
Remove not used field
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2018-07-23 22:58:55 +08:00 |
Jianhui Zhao
|
5635739412
|
Update README
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2018-07-21 17:48:44 +08:00 |
Jianhui Zhao
|
52f35b9109
|
Lua binding: Improve performance
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2018-07-21 17:37:14 +08:00 |
Jianhui Zhao
|
ab2e23977a
|
Optimize code
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2018-07-21 16:50:22 +08:00 |
Jianhui Zhao
|
782f6ae796
|
Fix typo: HTTP_MSG -> HTTP_METHOD
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2018-07-21 16:48:31 +08:00 |
Jianhui Zhao
|
3b1d425d07
|
More simplly to use
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2018-07-21 16:41:19 +08:00 |
Jianhui Zhao
|
abd7dbb17a
|
example/template.c: dos2unix
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2018-07-21 16:09:19 +08:00 |
Jianhui Zhao
|
4ae06b8150
|
Lua binding: New API: `set_log_threshold` and `log`
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2018-07-21 13:26:02 +08:00 |
Jianhui Zhao
|
9349adea75
|
Lua binding: Add constant: SSL_SUPPORTED
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2018-07-20 23:18:30 +08:00 |
Jianhui Zhao
|
1c6d892292
|
Bump version 2.1.2
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2018-07-20 00:20:19 +08:00 |
Jianhui Zhao
|
3c85ccf057
|
Lua binding: New API
send_error
redirect
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2018-07-20 00:19:00 +08:00 |
Jianhui Zhao
|
b6e78a8cd2
|
Lua binding: Optimize code
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2018-07-19 22:26:30 +08:00 |
Jianhui Zhao
|
a3d1c70b8c
|
Lua binding: Make the code more robust
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2018-07-19 22:25:09 +08:00 |
Jianhui Zhao
|
8f8a29adc5
|
Lua binding: New API: set_options
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2018-07-19 21:27:51 +08:00 |
Jianhui Zhao
|
ab5eb4bdae
|
libuhttpd: Fix bug: Can't set docroot and index file
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2018-07-19 21:08:04 +08:00 |
Jianhui Zhao
|
c6441851f6
|
Lua API: New API: set_error404_cb
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2018-07-19 14:03:14 +08:00 |
Jianhui Zhao
|
dcb397a62c
|
libuhttpd: New API
int uh_server_open(const char *host, int port);
void uh_server_init(struct uh_server *srv, int sock);
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2018-07-19 13:35:30 +08:00 |
Jianhui Zhao
|
3920100e64
|
Update README
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2018-07-19 10:54:09 +08:00 |