aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* make change somewhat dependend on boost versionHEADmasterniklas2020-08-241-1/+8
|
* fixed boost deprecation from 1.7.0 onwardsNiklas Halle2020-08-231-1/+1
|
* Merge pull request #274 from mwm126/mingw-gmtime_sJaeseung Ha2017-12-272-2/+2
|\ | | | | Use gmtime_s on MinGW
| * Use gmtime_s on MinGWMark Meredith2017-12-242-2/+2
| |
* | Avoid exceptions while closing socketsipknHama2017-12-251-2/+4
| |
* | Remove printf warning for lld, lluipknHama2017-12-251-8/+8
| |
* | Support multiple methods for same URLipknHama2017-12-253-130/+188
| | | | | | | | | | - fix broken unittests because of server initializing order change - add a function to wait until server is up
* | Add PURGE method, add a special enum item for countingipknHama2017-12-252-21/+32
| |
* | Merge pull request #260 from erikaldsund/fix_rvalue_copy_ctor_bugJaeseung Ha2017-12-251-1/+1
|\ \ | | | | | | Fixed bug in json::rvalue copy constructor
| * | Don't call copy_l before all other members are setErik Åldstedt Sund2017-10-301-1/+1
| |/ | | | | | | This lead to undefined behaviour during copy.
* | Merge pull request #259 from erikaldsund/fix_r_string_inconsistencyJaeseung Ha2017-12-251-1/+2
|\ \ | | | | | | Fixed bug in r_string
| * | Fixed bug in r_string: end of string pointer was not updated in the force ↵Erik Åldstedt Sund2017-10-301-1/+2
| |/ | | | | | | | | | | | | | | member function This could lead to undefined behaviour in the std::string conversion operator, when using the iterator interface (begin() / end()), and the size() member function.
* | Merge pull request #258 from erikaldsund/fix_handling_of_big_integersJaeseung Ha2017-12-251-20/+106
|\ \ | | | | | | Fix handling of big integers
| * | Fixed ostream operator for big integersErik Åldstedt Sund2017-10-301-1/+11
| | |
| * | Handle big integers in json::wvalueErik Åldstedt Sund2017-10-301-19/+95
| |/ | | | | | | | | | | Handled by adding an enum num_type in both rvalue and wvalue (to separate between signed/unsigned ints, and floating point values) and a union for the number value in wvalue.
* | Merge pull request #261 from erikaldsund/fix_warning_in_websocket_hJaeseung Ha2017-12-251-1/+1
|\ \ | | | | | | Fixed warning in websocket.h: right shift count >= width of type
| * | Fixed warning in websocket.h: right shift count >= width of typeErik Åldstedt Sund2017-10-301-1/+1
| |/ | | | | | | Fixed by static_cast-ing values from 32-bit values to 64-bit values.
* / Fix ws read failure when using 16bit payloadroxma2017-12-221-3/+4
|/ | | | Also should use ntohs instead of htons when read from socket.
* Merge pull request #253 from boodkb/patch_methodJaeseung Ha2017-10-211-0/+5
|\ | | | | Add support for HTTP PATCH method
| * Add HTTP PATCH supportBooD2017-10-051-0/+5
| |
* | Added 413 and 429 status codesSimon Rasmussen2017-10-201-0/+2
|/
* Remove unused include.ipknHama2017-09-181-1/+0
|
* Change default settingsipknHama2017-09-184-5/+29
| | | | | | - disable crow debug mode by default - expose `loglevel` method on `App` to change the logging level easily - add a startup message that guides how to change the logging level
* Fix cookie parsing: Cookie doesn't have escaping mechanism.ipknHama2017-09-181-64/+21
|
* Simplify json.keys()ipknHama2017-09-181-14/+8
|
* Merge branch 'master' into masterJaeseung Ha2017-09-186-24/+175
|\
| * Merge branch 'master' into masterJaeseung Ha2017-09-176-23/+157
| |\
| | * Merge pull request #193 from vadz/show-concurrencyJaeseung Ha2017-09-171-1/+2
| | |\ | | | | | | | | Show the number of threads used in the startup message
| | | * Show the number of threads used in the startup messageVadim Zeitlin2016-11-151-1/+2
| | | | | | | | | | | | | | | | | | | | This can be useful, especially when using the default hardware concurrency, to see how many threads does the server actually use in the logs.
| | * | Merge pull request #194 from vadz/atomic-conn-countJaeseung Ha2017-09-171-1/+1
| | |\ \ | | | | | | | | | | Use atomic type for connection count shared between threads
| | | * | Use atomic type for connection count shared between threadsVadim Zeitlin2016-11-151-1/+1
| | | |/ | | | | | | | | | | | | | | | | Even if this variable is only used in debug mode, it's still bad to have data races on it, as it was the case (and reported by thread sanitizer) before.
| | * | Merge pull request #183 from philave/vs2015-compilation-fixJaeseung Ha2017-09-172-2/+11
| | |\ \ | | | | | | | | | | MS VS2015 compilation fix.
| | | * | MS VS2015 compilation fix. It’s better to use native Win32 (strncpy_s, ↵Philip2016-10-212-2/+11
| | | |/ | | | | | | | | | | | | sprintf_s) to avoid compilation errors when building by MS C++.
| | * | Merge branch 'master' into masterJaeseung Ha2017-09-176-16/+138
| | |\ \
| | | * | Delete new connection with error while accepting (kwangsei, PR #205)ipknHama2017-09-171-0/+4
| | | | |
| | | * | Merge pull request #210 from zxmarcos/masterJaeseung Ha2017-09-172-3/+25
| | | |\ \ | | | | | | | | | | | | Add onaccept handler to websocket rule
| | | | * | Add onaccept handler to websocket ruleMarcos Medeiros2016-12-282-3/+25
| | | | |/
| | | * | Merge pull request #212 from uctakeoff/fix_warning_in_cpp11Jaeseung Ha2017-09-171-4/+16
| | | |\ \ | | | | | | | | | | | | Fixed a problem that warning appeared in c ++ 11
| | | | * | Fixed a problem that warning appeared in c ++ 11ushiyake2017-01-091-4/+16
| | | | |/
| | | * | Change vector to unordered_map for get_dictipknHama2017-09-171-7/+5
| | | | |
| | | * | Add missed header file.ipknHama2017-09-171-0/+1
| | | | |
| | | * | Merge pull request #202 from Rasie1/masterJaeseung Ha2017-09-172-4/+64
| | | |\ \ | | | | | | | | | | | | Conflict with std namespace
| | | | * | Add get_dict methodRasie12017-03-161-0/+60
| | | | | |
| | | | * | Upgrade amalgamateVsevolod Kvachev2016-12-061-4/+4
| | | | |/
| | | * | Fix #245. Trying to keep serving after an exception in the handler.ipknHama2017-09-171-5/+12
| | | | |
| | | * | Merge pull request #229 from JaewooSeo/wvalue_vectorJaeseung Ha2017-09-171-0/+17
| | | |\ \ | | | | | | | | | | | | wvalue (json) support vector<wvalue>
| | | | * | wvalue (json) support vector<wvalue>jaewoo.seo2017-05-121-0/+17
| | | | |/
| | | * | Add support for HTTP 422 status codeJamie Bullock2017-09-041-0/+1
| | | | | | | | | | | | | | | | | | | | See: https://tools.ietf.org/html/rfc4918#section-11.2
| | | * | Revert "Add support for HTTP 422 status code"Jamie Bullock2017-09-041-1/+0
| | | | | | | | | | | | | | | | | | | | This reverts commit 6e4e66ad1233257f6413e643cfb376d2cf298065.
| | | * | Add support for HTTP 422 status codeJamie Bullock2017-09-041-0/+1
| | | |/ | | | | | | | | | | | | See: https://tools.ietf.org/html/rfc4918#section-11.2