Commit Graph

783 Commits

Author SHA1 Message Date
ipknHama
5c5c8fb4f5 improve code quality
add missing includes (for amalgation)
remove register keyword (remove clang warning)
change define names to avoid name collision
remove url size limit from query_string.h
change MAX_KV_PAIRS define to const variable
add & to arguments
readability improve (although it requires additional allocation)
2014-10-24 01:18:29 +09:00
ipkn
4965d495a7 Merge pull request #28 from acron0/url-params-in-req
Added URL params (request.url_params)
2014-10-23 23:44:31 +09:00
Antony Woods
ada3039707 Fixed compiler errors and inlines some of the qs_parse functions 2014-10-22 09:40:33 +01:00
Antony Woods
3a2d22dfe0 Removed instance of 'using namespace std' 2014-10-22 09:34:30 +01:00
Antony Woods
baa115a76d Removed http-parser submodule 2014-10-15 18:20:48 +01:00
Antony Woods
6a2def410c Fixed merge oddities 2014-10-14 18:25:22 +01:00
Antony Woods
06842721d7 Wrapped qs_parse as query_string and added tests 2014-10-14 09:48:35 +01:00
ipknHama
a5fab23f70 HTTP GET/POST method distinguish 2014-10-07 21:51:24 +09:00
Antony Woods
a8f6c5a92f Merge branch 'master' of github.com:acron0/crow into url-params-in-req 2014-10-02 17:35:05 +01:00
ipknHama
d496f0f4b5 travis irc notification test 2014-09-28 19:42:30 +09:00
ipknHama
3e5e91c424 Now amalgamation will be updated automatically. 2014-09-27 20:03:51 +09:00
Antony Woods
6890436742 Fixed sign comparisson warning 2014-09-23 21:02:26 +01:00
Antony Woods
54fb4fa3d4 Merge branch 'master' of github.com:acron0/crow into url-params-in-req 2014-09-23 20:42:32 +01:00
Antony Woods
3b4bf01a7d URL params are now present as a ci_map variable of request 2014-09-22 21:34:22 +01:00
ipkn
bad75f25b8 fix bug in keep-alive header handling 2014-09-19 19:20:35 -04:00
ipknHama
2dfc58e904 support HTTP/1.0 keep alive (add corresponding header to response) 2014-09-20 06:30:18 +09:00
ipkn
c9e8bf3c64 Merge pull request #24 from acron0/url-params
Culling url params
2014-09-19 05:41:45 +09:00
Antony Woods
f213e0d66e Culling url params 2014-09-15 17:28:15 +01:00
ipknHama
301587b469 fix example_chat crash bug when using (req, res) handler 2014-09-14 20:12:18 +09:00
ipknHama
532eb71e2b add pragma once to settings.h, set log level to DEBUG for unittest 2014-09-14 20:04:27 +09:00
ipknHama
cfc3705ea4 update amalgamate 2014-09-14 08:18:09 +09:00
ipknHama
6ee8bd992e added test case for handling repeated request wrong 2014-09-14 08:16:49 +09:00
ipkn
fe4f934033 Merge pull request #23 from acron0/response-completed-bug
Fixed a bug in which response objects believed they were completed when they weren't.
2014-09-14 08:02:15 +09:00
ipkn
086107fc6d Merge pull request #22 from acron0/travis-logo-in-readme
Added travis build status logo to README
2014-09-14 07:35:50 +09:00
Antony Woods
8299451271 Moved the 'completed = true' line to before the completion callbacks 2014-09-13 19:15:37 +01:00
Antony
9e5f13a7c2 Added travis logo 2014-09-13 18:24:55 +01:00
ipknHama
7367f64ba8 remove clang from travis 2014-09-12 17:12:09 +09:00
ipknHama
a7e6787a2c travis update boost-latest, CMakeLists.txt boost version update 2014-09-12 16:55:42 +09:00
ipknHama
5854fe7679 travis add-repository 2014-09-12 16:28:58 +09:00
ipknHama
eccafae1a4 travis configuration update: g++-4.8, cmake check 2014-09-12 16:19:43 +09:00
ipknHama
6c5e6fcd07 change libboost-dev to libboost-all-dev 2014-09-12 16:06:04 +09:00
ipknHama
df2b4b414e travis add boost install 2014-09-12 15:59:01 +09:00
ipknHama
a0519c8278 travis CI build configuration file 2014-09-12 15:40:57 +09:00
ipknHama
507a1936e0 change default log level to INFO 2014-09-12 12:17:10 +09:00
ipknHama
b1b87a6c5a fix compile error
- add consturctor to request
 - remove unused type using
 - include "logging.h" from dumb_timer_queue.h (who uses CROW_LOG_DEBUG)
2014-09-12 12:17:10 +09:00
ipkn
764999e6c8 Update README.md 2014-09-11 08:04:14 +09:00
ipknHama
9eb96b7f4c Implement example CookieParser middleware and test 2014-09-11 06:32:41 +09:00
ipknHama
ab1063c046 complete middleware implementation 2014-09-08 07:07:53 +09:00
ipknHama
2748e35430 basic middleware test: before_handler 2014-09-07 04:30:53 +09:00
ipknHama
c89cafa820 add Middlewares template to Crow main class, context implementation 2014-09-07 01:24:45 +09:00
ipkn
daa3c82087 improve performance by 2x
change to io_service per CPU model
2014-08-17 05:35:21 -04:00
ipkn
79bbdfebfa fixed multithread crash 2014-08-16 12:10:19 -04:00
ipknHama
9b208fdaee fix compile bug (feeding std::endl to logger) 2014-08-16 12:44:43 +09:00
ipknHama
ef51b97d8b Change to custom timer implementation to increase performance 2014-08-16 11:55:26 +09:00
ipknHama
c5cbb3ff54 remove shared_ptr for performance 2014-08-15 11:06:00 +09:00
ipknHama
f91af402f7 Don't create logger object if corresponding log level is ignored. 2014-08-15 10:44:49 +09:00
ipknHama
7b08a2daac remove -pg compile flag (commited by mistake) 2014-08-15 10:44:03 +09:00
ipkn
b70a190077 tcmalloc linking added 2014-08-14 19:22:02 -04:00
ipknHama
9ca93dc799 Fixes #14, long polling leak removed. 2014-08-11 06:27:21 +09:00
ipkn
69c189b41a Update README.md 2014-08-08 04:13:10 +09:00