antao
|
900cc62306
|
Add 'log_level' config option
|
2018-10-06 10:15:46 +08:00 |
antao
|
0a0cb2cb76
|
Add formattedString method
|
2018-10-06 09:28:53 +08:00 |
antao
|
b192790ddf
|
Add some methods in class HttpViewData
|
2018-10-05 22:43:51 +08:00 |
antao
|
0c6f39c34d
|
Modify create view command of drogon_ctl
|
2018-10-05 19:17:12 +08:00 |
antao
|
d04efa98b2
|
1.Simplify the FunctionTraits;
2.Fix simple_example's bugs
|
2018-09-29 17:33:19 +08:00 |
antao
|
0cd9a2cee3
|
Add config option max_connections_per_ip
|
2018-09-29 15:30:27 +08:00 |
an-tao
|
0d3e9e6e74
|
Fix some compilation warnings
|
2018-09-25 21:46:26 +08:00 |
antao
|
5238da4df7
|
Use sendfile() system-call
|
2018-09-25 18:07:29 +08:00 |
antao
|
735d423fa5
|
Fix bugs of non-virtual destructor
|
2018-09-18 16:46:02 +08:00 |
an-tao
|
c1c0170c63
|
Add annotation
|
2018-09-16 12:47:35 +08:00 |
an-tao
|
6eb3663076
|
Fix a destructor bug
|
2018-09-16 12:38:40 +08:00 |
an-tao
|
da5270f259
|
Modify enableDynamicViewsLoading
|
2018-09-16 11:41:01 +08:00 |
antao
|
1db4e6bcd5
|
Modify drogon_ctl
|
2018-09-15 22:18:06 +08:00 |
antao
|
1f5ab069f9
|
Modify sha1 method
|
2018-09-15 21:43:38 +08:00 |
antao
|
8444c58e64
|
Add SHA1 function when no openssl
|
2018-09-15 19:40:24 +08:00 |
an-tao
|
d20caa2dbb
|
Fix a bug for jsoncpp1.7 version
|
2018-09-15 19:09:19 +08:00 |
antao
|
4897c29a67
|
Update trantor
|
2018-09-14 18:33:37 +08:00 |
antao
|
f1f41201b9
|
Optimization
|
2018-09-14 14:59:03 +08:00 |
antao
|
d2dcff2208
|
Optimization
|
2018-09-14 14:19:43 +08:00 |
antao
|
535f22cd26
|
Modify HttpAppFrameworkImpl
|
2018-09-14 10:46:56 +08:00 |
an-tao
|
0860e122ca
|
Add header file including
|
2018-09-14 10:18:06 +08:00 |
antao
|
c71f0810b2
|
Add configuration file for drogon
|
2018-09-13 18:25:30 +08:00 |
antao
|
332ba33b5b
|
Disable session by default
|
2018-09-12 08:46:51 +08:00 |
antao
|
66ec3fbb08
|
Change std::map to std::unordered_map in CacheMap
|
2018-09-12 08:22:23 +08:00 |
antao
|
135a015323
|
Move header file including to Utilities.cc
|
2018-09-11 19:09:45 +08:00 |
an-tao
|
363f003d2b
|
Add a log output
|
2018-09-11 17:53:23 +08:00 |
antao
|
67e62a743b
|
Modify date format(rfc2616-3.3.1)
|
2018-09-11 17:31:10 +08:00 |
antao
|
2afb875d86
|
Merge branch 'master' of https://github.com/an-tao/drogon
|
2018-09-11 16:50:18 +08:00 |
antao
|
1caf2b6be1
|
Modify CacheMap
|
2018-09-11 16:49:22 +08:00 |
an-tao
|
fde29c9e83
|
Missing a header file,fix it
|
2018-09-11 14:13:19 +08:00 |
antao
|
9240105804
|
Modify CacheMap
|
2018-09-11 11:03:47 +08:00 |
antao
|
77f511a7a3
|
Change log output
|
2018-09-11 09:24:40 +08:00 |
antao
|
2c1fd4cee0
|
Modify drogon_ctl
|
2018-09-10 18:06:00 +08:00 |
antao
|
2391cc1484
|
Fix HTTP response parsing bug
|
2018-09-10 15:50:44 +08:00 |
root
|
e6bcded66f
|
Fix atomic bug for older gcc
|
2018-09-09 22:09:22 +08:00 |
antao
|
5ba328f40a
|
Fix including error
|
2018-09-09 21:38:37 +08:00 |
antao
|
e0bdc59f16
|
Handle connection error in HttpClient
|
2018-09-09 11:08:58 +08:00 |
antao
|
8f5a8ad20c
|
Add a new factory method to create HttpClientPtr by host string(like 'https://www.xxx.com:9090')
|
2018-09-09 00:44:51 +08:00 |
antao
|
b44c2f9b9e
|
Add the function of setting the maximum number of connections
|
2018-09-08 11:39:36 +08:00 |
antao
|
f3e74a05de
|
Add header file including
|
2018-09-07 18:52:02 +08:00 |
antao
|
26773ff81f
|
Support 100-continue expact(rfc2616-8.2.3)
|
2018-09-07 16:07:41 +08:00 |
antao
|
7e3cac5c35
|
Fix a bug
|
2018-09-07 15:19:36 +08:00 |
antao
|
734866b22f
|
1.Update trantor;
2.Support client pipelining(rfc2616-8.1.2.2)
3.Fix a cookie bug
|
2018-09-07 14:14:06 +08:00 |
antao
|
31150ab32d
|
Add file uploading example
|
2018-09-07 09:53:37 +08:00 |
antao
|
6fbfe28506
|
Update status code
|
2018-09-06 19:06:25 +08:00 |
antao
|
b2d0595c60
|
1.Use 405 Method Not Allowed;2.Support HEAD method
|
2018-09-06 17:34:13 +08:00 |
antao
|
739c875d95
|
Header field name should be case-insensitive
|
2018-09-06 16:41:40 +08:00 |
antao
|
e5d72a1d45
|
Add 'set character-set' method
|
2018-09-06 14:45:29 +08:00 |
antao
|
e6a488f83a
|
Change names of some methods
|
2018-09-04 13:33:01 +08:00 |
antao
|
b0546e1277
|
Change some code
|
2018-09-04 11:19:12 +08:00 |
antao
|
108d26ac18
|
Format file
|
2018-09-03 14:07:28 +08:00 |
an-tao
|
1c5651e2f8
|
Fix gzip bug
|
2018-09-03 14:04:26 +08:00 |
antao
|
6315dd85ee
|
Update HttpServer
|
2018-09-03 11:25:03 +08:00 |
antao
|
790867d1e3
|
Add gzip compressing
|
2018-09-03 10:56:11 +08:00 |
antao
|
44bdc8ecbc
|
Change a method name
|
2018-09-02 16:21:12 +08:00 |
antao
|
2ad97c5f56
|
Add InnerIpFilter
|
2018-08-31 16:38:46 +08:00 |
antao
|
1011d5211d
|
Add LocalHostFilter
|
2018-08-31 15:17:09 +08:00 |
antao
|
6c444ec6ca
|
Modify log output
|
2018-08-30 16:55:29 +08:00 |
antao
|
2cff4a3457
|
Update METHOD_ADD macro
|
2018-08-30 10:18:04 +08:00 |
antao
|
966dd2e30e
|
Update FunctionTraits of HttpApiBinder
|
2018-08-29 18:26:36 +08:00 |
antao
|
cea61c1530
|
Change HttpResponse factory method
|
2018-08-29 17:03:26 +08:00 |
antao
|
f22f3dcc07
|
Small changes
|
2018-08-28 17:42:39 +08:00 |
antao
|
8f3dd7f24c
|
Update Cookie class
|
2018-08-28 15:14:21 +08:00 |
antao
|
a314404e89
|
Format code
|
2018-08-27 18:19:04 +08:00 |
antao
|
8788d0359d
|
Add filters chain before websocket controller
|
2018-08-27 16:07:36 +08:00 |
antao
|
aebddd27b1
|
Fix a fatal bug
|
2018-08-26 16:43:19 +08:00 |
antao
|
68d05dae47
|
Modify callback function signature
|
2018-08-26 16:25:35 +08:00 |
antao
|
b85aff0758
|
Add session in api controllers
|
2018-08-25 15:00:23 +08:00 |
antao
|
38a4175d8a
|
Shutdown connection by server
|
2018-08-25 00:16:16 +08:00 |
antao
|
d8bc8e27c9
|
Repair warning
|
2018-08-24 14:44:56 +08:00 |
antao
|
5bc2929797
|
Add http file types for download
|
2018-08-24 11:21:02 +08:00 |
antao
|
1faa4937a3
|
Fix some bugs
|
2018-08-23 18:05:17 +08:00 |
antao
|
8a82d988ec
|
Fix websocket bugs
|
2018-08-23 11:23:38 +08:00 |
antao
|
414e9b5fa6
|
Debug websocket frame parsing....something is wrong
|
2018-08-22 19:20:34 +08:00 |
antao
|
0e95e10c2b
|
Websocket frame parsing
|
2018-08-22 18:20:54 +08:00 |
antao
|
aa8170ff18
|
Modify drogon_ctl
|
2018-08-22 14:27:45 +08:00 |
antao
|
17e15d282b
|
Add WebSocketConnection class
|
2018-08-21 18:20:06 +08:00 |
antao
|
46a0dcb6ab
|
Add websocket support,not complete yet
|
2018-08-21 16:02:43 +08:00 |
antao
|
c2c072b9ec
|
Add debug output
|
2018-08-20 17:05:59 +08:00 |
antao
|
a6fe81a003
|
Fix framework bugs
|
2018-08-14 16:35:05 +08:00 |
antao
|
1c47395bb8
|
Fix api controller instance bug
|
2018-08-10 22:53:09 +08:00 |
antao
|
dea4829786
|
Fix Content-Type bug
|
2018-08-10 17:16:37 +08:00 |
antao
|
739dabe7b4
|
Fix framework bug
|
2018-08-09 17:45:05 +08:00 |
antao
|
d66314c4bf
|
Open some utility methods to the public
|
2018-08-09 16:43:45 +08:00 |
antao
|
b201df6189
|
modify json parser
|
2018-08-09 15:44:05 +08:00 |
antao
|
00eb320af8
|
make HttpResponse support json type
|
2018-08-09 15:35:19 +08:00 |
antao
|
bb438ba272
|
add HttpRequest method
|
2018-08-09 14:12:31 +08:00 |
antao
|
6be7bba29b
|
fix class name bug
|
2018-08-08 19:03:47 +08:00 |
antao
|
2fc238aa80
|
add a testing
|
2018-08-08 17:58:43 +08:00 |
antao
|
da88fd722b
|
fix a bug
|
2018-08-02 16:15:53 +08:00 |
antao
|
99ba19ebca
|
change doFilter interface
|
2018-08-02 15:38:06 +08:00 |
antao
|
d1f4ccf3d7
|
Modify some methods
|
2018-07-25 21:00:37 +08:00 |
antao
|
4f189afdf5
|
Modify HttpRequest creating interface
|
2018-07-25 17:07:21 +08:00 |
antao
|
278f7abae1
|
Fix bug in HttpClient
|
2018-07-24 18:50:25 +08:00 |
antao
|
89764e864a
|
Debug...
|
2018-07-24 18:19:06 +08:00 |
an-tao
|
a3ace50a30
|
Debug HttpClient...
|
2018-07-24 17:37:15 +08:00 |
antao
|
0e68138fa6
|
Debug HttpClient...
|
2018-07-24 17:24:23 +08:00 |
antao
|
d22e787fe5
|
add HttpClient
|
2018-07-23 17:51:45 +08:00 |
antao
|
00e82ce5ba
|
Support https with OpenSSL
|
2018-07-21 13:21:13 +08:00 |
antao
|
8fae7a9749
|
Adapt to MacOS system
|
2018-07-16 18:58:22 +08:00 |
an-tao
|
e26395afdc
|
modify FunctionTraits
|
2018-07-10 15:42:50 +08:00 |
root
|
80542e42c2
|
Modifiy CMakeLists.txt
|
2018-06-23 14:47:00 +00:00 |
root
|
82855fc86e
|
fix precompiled bugs
|
2018-06-23 11:22:20 +00:00 |
an-tao
|
3041547b4e
|
add some new method in class HttpRequest
|
2018-06-21 17:44:19 +08:00 |
an-tao
|
b2c9db7eb0
|
modify val names
|
2018-06-21 15:39:11 +08:00 |
an-tao
|
34a63b7962
|
fix sendfile bug
|
2018-06-21 13:13:07 +08:00 |
an-tao
|
6adc6ce9a6
|
add Cookie class
|
2018-06-19 16:55:25 +08:00 |
an-tao
|
f19fbd3dd2
|
modify dynamic shared lib loading logic
|
2018-06-15 17:54:06 +08:00 |
an-tao
|
e805faea8e
|
use config.h to configure std::any or boost::any
|
2018-06-15 15:58:54 +08:00 |
an-tao
|
ba1aa722e8
|
parse json data in request
|
2018-06-15 12:14:30 +08:00 |
an-tao
|
fd4f43816a
|
modify CMakeLists.txt
|
2018-06-15 09:44:40 +08:00 |
an-tao
|
7d8f1ec7fa
|
Implement MD5 function
|
2018-06-15 00:58:08 +08:00 |
an-tao
|
0ac3f59276
|
modify CMakeLists.txt
|
2018-06-15 00:07:43 +08:00 |
an-tao
|
cc35b08580
|
support dynamic libs compiling and loading
|
2018-06-14 18:51:26 +08:00 |
an-tao
|
95b83206fb
|
Write the compilation configuration to config.h
|
2018-06-14 14:25:57 +08:00 |
an-tao
|
975f76c2f7
|
modify sharedLibManager,not complete yet
|
2018-06-13 18:07:48 +08:00 |
an-tao
|
50bbd2d946
|
modify definitation of any
|
2018-06-13 17:30:40 +08:00 |
an-tao
|
567bd65955
|
change some interface in Utilities.h/cc
|
2018-06-11 19:22:42 +08:00 |
an-tao
|
4a8cb46f43
|
add some method in HttpAppFramework
|
2018-06-11 17:11:06 +08:00 |
an-tao
|
6c7512bdf4
|
file uploading
|
2018-06-11 15:45:28 +08:00 |
an-tao
|
10a6d39a32
|
add FileUpload,not complete yet
|
2018-06-11 15:31:34 +08:00 |
an-tao
|
9ddd79b194
|
add mutex in HttpAppFrameworkImpl to ensure the multiple thread security
|
2018-06-11 13:39:15 +08:00 |
an-tao
|
e0fbab7d0e
|
add setThreadNum method
|
2018-06-08 17:21:36 +08:00 |
an-tao
|
fb6c6527bd
|
add query parameters map to handler method
|
2018-06-08 11:15:29 +08:00 |
an-tao
|
696a2d016f
|
connection should be closed by client
|
2018-06-07 17:30:03 +08:00 |
an-tao
|
132e887337
|
fix a spelling error
|
2018-06-07 16:38:45 +08:00 |
an-tao
|
5728774b26
|
urldecode in path string
|
2018-06-07 10:29:41 +08:00 |
an-tao
|
43744f5df6
|
modify example of api controller
|
2018-06-07 09:41:15 +08:00 |
an-tao
|
6aceffd6ef
|
fix regex bug
|
2018-06-07 09:00:19 +08:00 |
an-tao
|
3f69aafec8
|
create api controller command,not complete yet
|
2018-06-06 18:29:05 +08:00 |
an-tao
|
f992c02673
|
use std::regex to match api path pattern,and parse arguments in path
|
2018-06-06 16:34:02 +08:00 |
an-tao
|
5bf0746673
|
chmod
|
2018-06-06 09:35:04 +08:00 |
an-tao
|
2ffb8706a4
|
comment out some debug code
|
2018-06-05 23:51:50 +08:00 |
an-tao
|
03885cc9cb
|
modify macro in api controller
|
2018-06-05 21:42:08 +08:00 |
an-tao
|
4accacd9a6
|
add some code annotations
|
2018-06-05 19:09:17 +08:00 |
an-tao
|
232094f01a
|
create controller only once
|
2018-06-05 17:59:11 +08:00 |
an-tao
|
488e824d44
|
HttpApiController work
|
2018-06-05 14:40:03 +08:00 |
an-tao
|
4a063155a1
|
change FunctionTraits
|
2018-06-05 10:43:53 +08:00 |
an-tao
|
6004b633af
|
change http callback interface
|
2018-06-05 09:38:03 +08:00 |
an-tao
|
ed4ed3fda0
|
make HttpApiBinder support lambda and std::function
|
2018-06-04 23:45:21 +08:00 |
an-tao
|
a8bc891209
|
Continue to improve the api controller, not yet completed
|
2018-06-04 19:00:35 +08:00 |
an-tao
|
f117f08817
|
prepair to add api controller
|
2018-06-01 18:18:14 +08:00 |
an-tao
|
0a80323f84
|
fix some bugs
|
2018-06-01 14:07:34 +08:00 |
an-tao
|
de6e93da66
|
modify the file annotations
|
2018-05-31 17:00:31 +08:00 |
an-tao
|
c32c5bf44b
|
delete 'delete' operator
|
2018-05-31 15:56:27 +08:00 |
an-tao
|
22e35f6e56
|
organize the code
|
2018-05-31 14:34:26 +08:00 |
an-tao
|
59b925737d
|
addListener method
|
2018-05-31 13:55:33 +08:00 |
an-tao
|
8c4f981e4f
|
1.use Any in HttpServer;2.catch exception in HttpViewData
|
2018-05-31 11:14:33 +08:00 |
an-tao
|
1aaa65fff7
|
replace bare pointers with shared_ptr in HttpReponse static methods;fix a delete bug
|
2018-05-30 21:23:46 +08:00 |
an-tao
|
ff05960bf9
|
Restore the deleted files
|
2018-05-30 18:00:02 +08:00 |