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 |
Jianhui Zhao
|
3cb41b2403
|
Update CONTRIBUTING
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-12-29 14:54:34 +08:00 |
Jianhui Zhao
|
5e3ddbe27d
|
Update README
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-12-29 14:48:59 +08:00 |
Jianhui Zhao
|
02f25bb0fd
|
Update README
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-12-29 14:46:40 +08:00 |
Jianhui Zhao
|
78ee11782b
|
Bump version to 1.0.0
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-12-29 14:42:37 +08:00 |
Jianhui Zhao
|
568a287feb
|
Restructure with libubox
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-12-29 14:40:58 +08:00 |
Jianhui Zhao
|
ef94e04328
|
Bump version to 0.4.0
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-12-29 11:46:11 +08:00 |
Jianhui Zhao
|
62a3a563f1
|
Renamed project: libuhttp -> libuhttpd
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-12-29 11:44:03 +08:00 |
Jianhui Zhao
|
01503b3128
|
No need CONTRIBUTORS.md
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-12-11 17:19:33 +08:00 |
Jianhui Zhao
|
84a887d5bf
|
Bump version to 0.3.0
ssssss-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-12-09 23:30:18 +08:00 |
Jianhui Zhao
|
6f0f62faa8
|
Lua template: Add Http Variables
<h1>------------Http Variables-------------</h1>
<%for k, v in pairs(_UHTTP["VARIABLES"]) do%>
<h1><%=k%>: <%=v%></h1>
<%end%>
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-12-09 23:28:32 +08:00 |
Jianhui Zhao
|
38688ef5f6
|
new function: uh_foreach_var()
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-12-09 23:19:09 +08:00 |
Jianhui Zhao
|
f096369b5b
|
optimize code
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-12-09 17:03:29 +08:00 |
Jianhui Zhao
|
1873edb5ed
|
Fix bug: uh_get_var()
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-12-09 17:00:25 +08:00 |
Jianhui Zhao
|
90f38a6694
|
Lua template: Improve and optimize
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-12-09 16:50:23 +08:00 |
Jianhui Zhao
|
93705e0853
|
Fix doc format
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-12-06 23:22:48 +08:00 |
Jianhui Zhao
|
2ab93c9680
|
Lua template: Optimize code
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-12-05 23:26:36 +08:00 |
Jianhui Zhao
|
52f6309844
|
Lua template: Add the headers variable
Example:
<%for k, v in pairs(_UHTTP["HEADERS"]) do%>
<h1><%=k%>: <%=v%></h1>
<%end%>
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-12-05 23:01:44 +08:00 |
Jianhui Zhao
|
e5e3fcc5dc
|
template.c: Convert the document format to UNIX format.
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-12-05 22:57:52 +08:00 |
Jianhui Zhao
|
9fea273c7e
|
Update README_ZH.md
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-12-05 17:35:24 +08:00 |
Jianhui Zhao
|
d38f1d1f4b
|
Add test file for Lua template
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-12-05 16:53:19 +08:00 |
Jianhui Zhao
|
e4d8ce13ef
|
Support Lua template
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-12-05 16:46:57 +08:00 |
Jianhui Zhao
|
4d27dc49ac
|
Optimize code
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-12-05 16:15:55 +08:00 |
Jianhui Zhao
|
6bc0e5fa16
|
new function: uh_get_method(), uh_get_method_str()
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-12-05 16:12:37 +08:00 |
Jianhui Zhao
|
519559c12f
|
uh_get_con_sock(): New function
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-12-05 15:52:27 +08:00 |
Jianhui Zhao
|
cb5cfff75b
|
Update README
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-12-01 16:50:37 +08:00 |
Jianhui Zhao
|
84c0e8eecf
|
Update README
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-12-01 16:49:02 +08:00 |
Jianhui Zhao
|
3cf95b2bc8
|
Optimizing performance by less memory allocation times
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-12-01 14:17:58 +08:00 |
Jianhui Zhao
|
7da483cb1e
|
uh_send_head: fix wrong description
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-11-30 16:07:28 +08:00 |
Jianhui Zhao
|
e6ab115754
|
str.h: Convert its document format to UNIX
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-11-30 15:00:53 +08:00 |
Jianhui Zhao
|
564a545ce8
|
Fix typo
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-11-30 08:49:43 +08:00 |
Jianhui Zhao
|
5200f78b4c
|
Update README
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-11-30 08:46:38 +08:00 |
Jianhui Zhao
|
3a89216f19
|
Update README.md
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-11-30 07:57:56 +08:00 |
Jianhui Zhao
|
070c27e1ad
|
Update CONTRIBUTING.md
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-11-30 07:48:24 +08:00 |
Jianhui Zhao
|
edd9efc2e5
|
Bump version to 0.2.1
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-11-29 17:25:38 +08:00 |
Jianhui Zhao
|
7298b27103
|
Add License to all source files.
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-11-29 15:48:07 +08:00 |
Jianhui Zhao
|
65a66eba9b
|
rename http_parser.c(h) -> parser.c(h)
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
|
2017-11-29 14:55:27 +08:00 |