Commit Graph

1181 Commits

Author SHA1 Message Date
Leonid Stryzhevskyi
37cab34a19
Merge pull request #428 from autoantwort/fix-localtime_r
Use always localtime_s on windows.
2021-05-11 19:56:11 +03:00
Leander Schulten
6ad5cd2791 Always use localtime_s on windows. Previously a function was used that only handles 32 bit time_t values while time_t was 64 bit 2021-05-10 21:38:32 +02:00
Leonid Stryzhevskyi
501b7cc00d
Merge pull request #427 from DavidKorczynski/master
Migrating fuzzers from oss-fuzz.
2021-05-07 19:58:02 +03:00
davkor
d107e4b658
Moved fuzzer to dedicated folder.
Signed-off-by: davkor <david@adalogics.com>
2021-05-07 17:52:17 +01:00
davkor
da43b35692
migrating fuzzers from oss-fuzz. 2021-05-07 15:10:08 +01:00
Leonid Stryzhevskyi
4588f8d1e5
Merge pull request #426 from MHaselmaier/master
Fixed compiler warnings
2021-05-06 23:53:04 +03:00
MHaselmaier
185464b155 Fixed compiler warning for unreferenced local variables and truncations on MSVC 2021-05-06 21:27:35 +02:00
Leonid Stryzhevskyi
13eaca0dc7
Merge pull request #423 from MHaselmaier/master
Fixed memory leak in move assignement operators
2021-05-03 23:42:26 +03:00
MHaselmaier
4f1e0b81d9 Fixed memory leak in move assignement operators 2021-05-03 21:59:43 +02:00
Leonid Stryzhevskyi
2b6a90f601
Merge pull request #422 from MHaselmaier/master
Minor performance relevant changes
2021-05-03 14:26:10 +03:00
MHaselmaier
25a7d4c8bf Utilized std::vector constructor to default initialize n elements instead of calling push_back n times 2021-05-03 12:12:43 +02:00
MHaselmaier
ffcc180dc1 Removed unesseccary copies 2021-05-03 12:10:21 +02:00
MHaselmaier
19e9c59b62 Used perfect forwarding in Coroutine::start 2021-05-03 12:07:03 +02:00
Leonid Stryzhevskyi
019ca7f579
Merge pull request #421 from MHaselmaier/master
Added missing virtual destructor and removed superflous virtual specifier
2021-05-02 17:23:21 +03:00
MHaselmaier
881a3b9b49 Added missing virtual destructor.
Removed superflous virtual.
2021-05-02 16:03:26 +02:00
Leonid Stryzhevskyi
6e9de70898
Merge pull request #420 from MHaselmaier/master
Minor refactorings
2021-05-02 15:46:24 +03:00
MHaselmaier
9fb654b8fb Removed superfluous virutal 2021-05-02 14:23:31 +02:00
MHaselmaier
9fe78ba9f6 Merge remote-tracking branch 'upstream/master' 2021-05-02 12:05:58 +02:00
MHaselmaier
7ca0ec7875 Declared variable when used, not a the start of function 2021-05-02 11:59:49 +02:00
MHaselmaier
91c3818a64 Replaced goto statement with break 2021-05-02 11:57:26 +02:00
MHaselmaier
250d399d64 Added missing override specifier 2021-05-02 11:56:09 +02:00
Leonid Stryzhevskyi
4990eb6155
Merge pull request #419 from MHaselmaier/master
Added missing throw keyword
2021-05-02 10:47:29 +03:00
MHaselmaier
f3d513992f added missing throw keyword 2021-05-02 09:30:59 +02:00
Leonid Stryzhevskyi
fba6d02c89
Merge pull request #414 from boldrij/update_port_after_binding
Update port after binding
2021-04-22 23:42:56 +03:00
boldrij
899f675ebf Update ConnectionProvider.cpp
forget ;
2021-04-22 20:10:32 +02:00
boldrij
c8996c42d7 Update port after binding
Typicaly in case we use a port equal 0 to let the system find a free port, we need to update the port property of the provider
2021-04-22 20:03:54 +02:00
Leonid Stryzhevskyi
d6521d2178
Merge pull request #396 from bamkrs/master
Add hints and advice to the threading-examples in `Server.hpp`
2021-03-01 15:07:07 +02:00
Benedikt-Alexander Mokroß
24c89a7ce8 Add hints and advice to the threading-examples in Server.hpp and added the link to the warning in Server.cpp 2021-03-01 08:50:43 +01:00
Kasper Seweryn
78e6152090
Fix #324 (#395)
* Attempt to patch #324

* Add check for MinGW and code attribution
2021-03-01 07:36:34 +01:00
Leonid Stryzhevskyi
9899786b23
Update README.md 2021-02-16 04:13:54 +02:00
Leonid Stryzhevskyi
f9b5c755a1
Merge pull request #390 from oatpp/fix_missing_virtual_destructors
Fix missing virtual destructors
2021-02-16 03:33:09 +02:00
lganzzzo
44813e4113 web::server::interceptor: Add missing virtual destructors for Request/Response interceptors. 2021-02-16 03:31:50 +02:00
Zach
b207ad307a
Merge pull request #1 from acidtonic/acidtonic-patch-1
Update RequestInterceptor.hpp
2021-02-15 14:57:26 -05:00
Zach
42685cf0d1
Update RequestInterceptor.hpp
Corrected virtual class with public non-virtual destructor.
2021-02-15 14:57:03 -05:00
Leonid Stryzhevskyi
255fd435af
Update 1.2.5.md 2021-02-14 23:04:06 +02:00
Leonid Stryzhevskyi
b43355c001
Merge pull request #386 from oncontroltech/master
Fix a 64bit function that was also being called when the environment …
2021-01-30 21:53:47 +02:00
Samega 7Cattac
e43af7c06e
Fix a 64bit function that was also being called when the environment is 32btis.
The function _localtime64 was being called inside a ifdef WIN32 which
makes it try to compile even when it's in a 32bti environment.
Now if it calls _localtime32 in that case.
Tested on Windows using Msys+mingw 32bit shell.

Signed-off-by: Samega 7Cattac <7Cattac@gmail.com>
2021-01-30 17:35:11 +00:00
Leonid Stryzhevskyi
50748b4011
Merge pull request #378 from oatpp/optional_query_parameters
Add optional default-value for QUERY parameters to ease the implementation of optional QUERY parameters
2021-01-12 15:15:29 +02:00
Benedikt-Alexander Mokroß
5502a0cbf0 Add optional default-value for QUERY parameters to ease the implementation of optional QUERY parameters. 2021-01-12 13:15:47 +01:00
Leonid Stryzhevskyi
6b4413552a
Merge pull request #373 from oatpp/fix_wrong_loop_call_on_conditional_nullptr_issue372
Fix wrong calling of conditional loop if condition is null (Closes #372)
2021-01-06 00:41:30 +02:00
Benedikt-Alexander Mokroß
cc7ef1b275 Fix wrong calling of conditional loop if condition is null (Closes #372( 2021-01-05 21:49:28 +01:00
Leonid Stryzhevskyi
149ddb30df
Merge pull request #365 from oatpp/conditional_server_run
WIP/Discussion: Let server check an (optional) stopping condition by itself
2021-01-04 13:11:55 +02:00
Benedikt-Alexander Mokroß
a2d423490c Correctly call conditionalMainLoop() instead of the unconditional mainLoop for the conditional run. 2021-01-04 10:17:21 +01:00
Benedikt-Alexander Mokroß
dbd02bb98d Merge remote-tracking branch 'origin/conditional_server_run' into conditional_server_run 2021-01-04 09:37:08 +01:00
Benedikt-Alexander Mokroß
de2f6cd59c Replaced erroneous pass-by-value with pass-by-reference in ClientServerTestRunner.hpp that prevented shutting down the server correctly. 2021-01-04 09:36:55 +01:00
Leonid Stryzhevskyi
ff109396f1
Merge pull request #370 from oatpp/endpoint_info_multiple_examples
Endpoint: Support multiple example values.
2021-01-03 19:34:25 +02:00
Leonid Stryzhevskyi
dea6301a30
Update 1.2.5.md 2021-01-03 19:33:24 +02:00
lganzzzo
ebeb78b1e6 Endpoint: Support multiple example values. 2021-01-03 18:38:45 +02:00
Leonid Stryzhevskyi
2ec763b814
Merge pull request #369 from oatpp/better_endpoint_info
EndpointInfo: Add example field for parameters.
2021-01-03 04:57:34 +02:00
lganzzzo
c080141884 EndpointInfo: Add example field for parameters. 2021-01-03 04:38:18 +02:00