aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add PURGE method, add a special enum item for countingipknHama2017-12-253-21/+48
|
* 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-252-21/+138
|\ \ | | | | | | Fix handling of big integers
| * | Fixed ostream operator for big integersErik Åldstedt Sund2017-10-302-1/+15
| | |
| * | Handle big integers in json::wvalueErik Åldstedt Sund2017-10-302-20/+123
| |/ | | | | | | | | | | 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.
* | Merge pull request #273 from roxma/masterJaeseung Ha2017-12-251-3/+4
|\ \ | |/ |/| Fix ws read failure when using 16bit payload
| * 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-212-0/+21
|\ | | | | Add support for HTTP PATCH method
| * Add HTTP PATCH supportBooD2017-10-052-0/+21
| |
* | Merge pull request #255 from Zagitta/status_codesJaeseung Ha2017-10-211-0/+2
|\ \ | |/ |/| Added status codes 413 and 429
| * Added 413 and 429 status codesSimon Rasmussen2017-10-201-0/+2
|/
* Update README.mdJaeseung Ha2017-09-181-1/+1
|
* Remove amalgamation result (`crow_all.h`) from the repositoryipknHama2017-09-183-9663/+2
|
* Remove unused include.ipknHama2017-09-181-1/+0
|
* Change default settingsipknHama2017-09-185-7/+31
| | | | | | - 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-182-66/+29
|
* Simplify json.keys()ipknHama2017-09-181-14/+8
|
* Merge pull request #171 from yorickdewid/masterJaeseung Ha2017-09-186-48/+54
|\ | | | | Set cast type without dereferencing pointer
| * Merge branch 'master' into masterJaeseung Ha2017-09-1816-3374/+3606
| |\ | |/ |/|
* | Merge pull request #148 from thedrow/patch-3Jaeseung Ha2017-09-171-1/+1
|\ \ | | | | | | Run compilation and tests with 2 jobs
| * | Run compilation and tests with 2 jobs.Omer Katz2016-07-291-1/+1
| | |
* | | Merge pull request #147 from thedrow/patch-2Jaeseung Ha2017-09-172-0/+10
|\ \ \ | | | | | | | | Enable ccache if found for faster builds
| * | | Update .travis.ymlOmer Katz2016-07-291-0/+1
| | | |
| * | | Enable ccache if found for faster builds.Omer Katz2016-07-291-0/+9
| |/ /
* | | Merge pull request #174 from taylorking/masterJaeseung Ha2017-09-172-46/+18
|\ \ \ | | | | | | | | implement .keys()
| * \ \ Merge branch 'master' into masterJaeseung Ha2017-09-1716-3386/+3578
| |\ \ \ | |/ / / |/| | |
* | | | Change websocket example to use default templates directoryipknHama2017-09-171-1/+1
| | | |
* | | | Merge pull request #177 from tekn0ir/fix_libssl_exampleJaeseung Ha2017-09-173-5/+12
|\ \ \ \ | | | | | | | | | | Fix linking error on OSX & fix websocket example
| * \ \ \ Merge branch 'master' into fix_libssl_exampleJaeseung Ha2017-09-1715-3324/+3572
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | 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 pull request #200 from sgiurgiu/masterJaeseung Ha2017-09-172-4/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | Removed strict-aliasing warning
| * \ \ \ \ \ Merge branch 'master' into masterJaeseung Ha2017-09-1715-4219/+4447
| |\ \ \ \ \ \ | |/ / / / / / |/| | | | | |
* | | | | | | Update links in the conanfile.pyipknHama2017-09-171-3/+3
| | | | | | |
* | | | | | | Merge pull request #198 from javierjeronimo/masterJaeseung Ha2017-09-173-2/+39
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Add compatibility with conan.io
| * | | | | | | Make it compatible with conan.io (but optional).Javier Jerónimo Suárez2016-11-221-2/+4
| | | | | | | |
| * | | | | | | ignoreJavier Jerónimo Suárez2016-11-201-0/+3
| | | | | | | |
| * | | | | | | fixJavier Jerónimo Suárez2016-11-201-7/+0
| | | | | | | |
| * | | | | | | indentJavier Jerónimo Suárez2016-11-201-3/+2
| | | | | | | |
| * | | | | | | indentJavier Jerónimo Suárez2016-11-201-5/+8
| | | | | | | |
| * | | | | | | FixesJavier Jerónimo Suárez2016-11-201-7/+4
| | | | | | | |