Commit Graph

156 Commits (e09a3e9c47787b6efb3c843648651c864fe0bfe5)

Author SHA1 Message Date
Jianhui Zhao e09a3e9c47 Update README
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-01-21 19:15:09 +08:00
Jianhui Zhao 5750eede11 Optimize config.h to avoid config.h conflicts with other libraries
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-01-18 08:26:53 +08:00
Jianhui Zhao 60e052c6b8 Optimize code
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-01-17 12:57:23 +08:00
Jianhui Zhao 573969eadd Optimize code
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-01-17 12:50:25 +08:00
Jianhui Zhao 60f339003e Update README
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-01-14 21:45:09 +08:00
Jianhui Zhao f405762275 Bump version 1.0.5
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-01-14 21:17:15 +08:00
Jianhui Zhao 5bd6886351 Fix compile error on old libubox
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-01-14 21:16:14 +08:00
Jianhui Zhao 081f2091f7 Update README.md
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-01-12 13:16:05 +08:00
Jianhui Zhao 33e2f8e272 Optimize code
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-01-10 23:30:24 +08:00
Jianhui Zhao 769b6d2dbd example/helloworld.c: Fix segment fault
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-01-08 14:29:08 +08:00
Jianhui Zhao f2eb8d55f2 Fix README
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-01-06 14:39:55 +08:00
Jianhui Zhao ad46c0592b Optimize code
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-01-06 14:38:34 +08:00
Jianhui Zhao 136967659a unify header file style
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-01-05 22:34:48 +08:00
Jianhui Zhao c9252d78e4 Optimize build for example
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-01-05 21:46:03 +08:00
Jianhui Zhao c38a36ec19 Update README: lede-project -> openwrt
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-01-04 13:03:02 +08:00
Jianhui Zhao c496352935 Update README
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-01-04 12:46:48 +08:00
Jianhui Zhao 9b41ba970b Update README
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-01-03 10:50:49 +08:00
Jianhui Zhao a67add91a1 Bump version to 1.0.4
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-01-01 11:46:37 +08:00
Jianhui Zhao cbe7173205 New member function for struct uh_client
cl->get_url(cl);
cl->get_var(cl, "name");

Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-01-01 11:44:46 +08:00
Jianhui Zhao 89851e3f33 Optimize code
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-01-01 10:30:41 +08:00
Jianhui Zhao 4fc1826889 Optimize example
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-01-01 09:37:59 +08:00
Jianhui Zhao 78f060779e Optimize code
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-31 17:28:27 +08:00
Jianhui Zhao 4fb0f0b692 Bump version to 1.0.3
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-30 23:36:46 +08:00
Jianhui Zhao 0e76b575eb Update README
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-30 17:42:50 +08:00
Jianhui Zhao c5ac8e8d8e Optimize code
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-30 17:38:07 +08:00
Jianhui Zhao b5517eda7e Fix bug: hdr_get_len()
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-30 17:28:36 +08:00
Jianhui Zhao b1cf13013e redirect: New member function for `struct uh_client`
cl->redirect(cl, 302, "/xx.html");
cl->redirect(cl, 301, "/%s.html", "xx");

Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-30 15:57:48 +08:00
Jianhui Zhao 59a60eb2ea Bump version to 1.0.2
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-30 12:46:59 +08:00
Jianhui Zhao 70b761c08d Update README
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-30 12:41:43 +08:00
Jianhui Zhao eede72a4d2 Move gen_cert.sh and openssl.cnf to example
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-30 12:41:17 +08:00
Jianhui Zhao 4fe8482b9f Fix compile example failed
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-30 12:34:19 +08:00
Jianhui Zhao c1da233ab0 Improve CMakeLists.txt
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-30 12:24:00 +08:00
Jianhui Zhao b54576e32f dos2unix format
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-30 11:44:02 +08:00
Jianhui Zhao 2ab4ebc2f0 All Tabs indent to Spaces
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-30 11:40:37 +08:00
Jianhui Zhao 3aa5d2aeed Fix License format
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-30 11:36:20 +08:00
Jianhui Zhao b8ae313e0a Support configuring a function as 404 error handling
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-30 11:30:33 +08:00
Jianhui Zhao f4852fd9cc Perfect code logic
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-30 11:10:33 +08:00
Jianhui Zhao 278f7a19dd Perfect response error hints
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-30 11:05:31 +08:00
Jianhui Zhao 34bbc9264f Not support parse chunked body from client
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-30 11:02:39 +08:00
Jianhui Zhao 2eb72631bb Add -Wno-misleading-indentation to CFLAGS avoid compilation failure when using GCC6
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-30 10:51:48 +08:00
Jianhui Zhao 3d9462d820
Update README_ZH.md 2017-12-30 09:27:06 +08:00
Jianhui Zhao 5abf9e050f Remove some package depend
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-29 22:26:07 +08:00
Jianhui Zhao 11500b17d9 Update README
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-29 17:58:55 +08:00
Jianhui Zhao 79e03b69f5 Bump version to 1.0.1
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-29 17:49:14 +08:00
Jianhui Zhao ab0228ffa8 Support parse POST data
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-29 17:48:06 +08:00
Jianhui Zhao 70f5016e61 Optimize code
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-29 16:09:47 +08:00
Jianhui Zhao 8a8680f92a Fix bug: compile failed when ssl disabled
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-29 15:26:38 +08:00
Jianhui Zhao f51efac5a2 Update README_ZH.md
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-29 15:00:37 +08:00
Jianhui Zhao ea07446f80 Update README_ZH.md
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-29 14:58:09 +08:00
Jianhui Zhao 784fd9d4c9 Update README_ZH.md
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-12-29 14:57:03 +08:00