Commit Graph

1657 Commits

Author SHA1 Message Date
Leonid Stryzhevskyi
a5fe65becc
Merge pull request #904 from linhaojun857/fix_902
Fix the bug of send "null" in request body causes seg-fault
2024-01-11 06:38:22 +02:00
linhaojun857
02a21de839 Add test 2023-12-16 15:34:08 +08:00
linhaojun857
df9ddc0313 fix the bug of send "null" in request body causes seg-fault on any endpoint w/ BODY_DTO 2023-12-16 10:35:15 +08:00
Leonid Stryzhevskyi
57e6a714d7
Merge pull request #896 from linhaojun857/add_test_sample
Add test sample for HttpRouter
2023-12-05 06:22:39 +02:00
linhaojun857
1137678bba Add test sample for HttpRouter 2023-11-26 23:49:20 +08:00
Leonid Stryzhevskyi
1d11558e2c
Merge pull request #895 from ffontaine/master
src/oatpp/core/base/Environment.hpp: include cstdarg
2023-11-25 08:44:46 +02:00
Leonid Stryzhevskyi
679b6e95f2
Merge pull request #893 from sodevel/fix/gcc46
Fix compilation on GCC 4.6
2023-11-25 08:42:06 +02:00
Fabrice Fontaine
b3e8930ccb src/oatpp/core/base/Environment.hpp: include cstdarg
Include cstdarg to fix the following build failure with uclibc-ng:

In file included from /home/autobuild/autobuild/instance-4/output-1/build/oatpp-1.3.0/src/oatpp/algorithm/CRC.hpp:28,
                 from /home/autobuild/autobuild/instance-4/output-1/build/oatpp-1.3.0/src/oatpp/algorithm/CRC.cpp:25:
/home/autobuild/autobuild/instance-4/output-1/build/oatpp-1.3.0/src/oatpp/core/base/Environment.hpp:359:93: error: 'va_list' has not been declared
  359 |   static void vlogFormatted(v_uint32 priority, const std::string& tag, const char* message, va_list args);
      |                                                                                             ^~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/bcdf7548ff752f936defd111d13c63245ea70cbe

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2023-11-23 22:45:56 +01:00
Steffen Olszewski
315d5ae498 Fix compilation on GCC 4.6
The compiler flag `-fcf-protection` is only available since GCC 8.1.

Closes #892
2023-11-21 19:57:37 +01:00
Leonid Stryzhevskyi
c1d37c189e
Merge pull request #887 from Yadoms/fixCrossCompileForPi
Try to fix cross-compile for Raspberry Pi with GCC version < 8.1
2023-11-15 22:34:06 +02:00
Leonid Stryzhevskyi
2435f4a3fb
Merge pull request #889 from mwohlert/branch/feature/allow_overriding_DI_variables_in_ClientServerTestRunner
Allow overriding DI injected variables in ClientServerTestRunner
2023-11-15 22:33:07 +02:00
Michel Wohlert
d427e200e9
Allow overriding DI injected variables in ClientServerTestRunner
Move OATPP_COMPONENT calls to constructor to allow supplying variables without using DI
2023-11-14 13:37:04 -08:00
Sébastien Gallou
5ccad57d78 Try to fix cross-compile for Raspberry Pi with GCC version < 8.1 2023-11-08 15:26:31 +01:00
Leonid Stryzhevskyi
1e5b0c4917
Merge pull request #883 from alex-lt-kong/master
New fix to issue 872
2023-11-01 23:54:16 +02:00
Alex Kong
5d552e9625 new fix 2023-10-29 11:27:06 +08:00
Leonid Stryzhevskyi
33c076d4b5
Merge pull request #877 from sodevel/fix/cmake-variable-removal
Prevent unintended removal of local CMake variables
2023-10-21 02:59:04 +03:00
Leonid Stryzhevskyi
1714ce58ec
Merge pull request #878 from sodevel/feature/extend-ignores
Ignore more build directory patterns
2023-10-20 23:31:41 +03:00
Steffen Olszewski
0b73f01703 Prevent unintended removal of local CMake variables
Without quotes list expansion happens inside the set-call, if the list is empty,
this actually unsets the variable. This is not intended and could lead to
unwanted side effects. List expansion is not required there, quoting the
variable results in setting the variable to empty for empty lists.
2023-10-20 19:13:54 +02:00
Steffen Olszewski
bbffb93307 Remove unneeded build directory ignores 2023-10-20 18:56:08 +02:00
Steffen Olszewski
67fa47af99 Ignore more build directory patterns 2023-10-20 18:55:03 +02:00
Leonid Stryzhevskyi
b85a565351
Merge pull request #873 from alex-lt-kong/ak_issue872
comment out fcf-protection
2023-10-15 00:23:01 +03:00
Alex Kong
ad6a6906bc comment out fcf-protection 2023-10-14 17:14:15 +08:00
Alex Kong
dec7490f79 comment out fcf-protection 2023-10-14 17:13:12 +08:00
mamsds
3d0081ab34 comment out fcf-protection 2023-10-14 17:08:41 +08:00
Leonid Stryzhevskyi
d2c06b65af
Merge pull request #861 from linhaojun857/issue_676
Fix serialize object and deserialize json when not include required field
2023-10-08 04:43:31 +03:00
Leonid Stryzhevskyi
1a69c72c67
Update README.md 2023-10-06 01:27:23 +03:00
linhaojun857
7b92550523 throw exception when deserialize json which not include required field 2023-09-21 15:04:59 +08:00
linhaojun857
c7e1c2375b throw exception when serialize object which not include required field 2023-09-21 14:13:27 +08:00
Leonid Stryzhevskyi
432464285a
Merge pull request #860 from linhaojun857/fix_741
Fix default value with QUERY macro
2023-09-21 02:05:38 +03:00
linhaojun857
0202d08725 fix default value with QUERY macro 2023-09-21 00:20:27 +08:00
Leonid Stryzhevskyi
3f37fa7008
Merge pull request #855 from linhaojun857/issue_775
Add Interface ConnectionConfigurer
2023-09-18 15:34:08 +03:00
Leonid Stryzhevskyi
a309413ae0
Merge pull request #856 from linhaojun857/fix_677
Fix ConnectionMonitor
2023-09-18 15:30:29 +03:00
linhaojun857
32b2b2eb78 fix ConnectionMonitor 2023-09-18 13:44:53 +08:00
linhaojun857
455aa12b54 fix 2023-09-16 13:45:33 +08:00
linhaojun857
55971cf099 add ConnectionConfigurer 2023-09-16 13:37:21 +08:00
Leonid Stryzhevskyi
7e14e48a98
Merge pull request #853 from linhaojun857/fix_client_retry
Fix client retry bug
2023-09-16 02:19:43 +03:00
Leonid Stryzhevskyi
d042b62bed
Merge pull request #852 from linhaojun857/url
Fix url parse bug
2023-09-16 02:16:37 +03:00
linhaojun857
0a5900bd8f fix client retry bug 2023-09-15 13:02:43 +08:00
linhaojun857
62257a94b7 fix url parse bug 2023-09-15 08:56:17 +08:00
Leonid Stryzhevskyi
d4f0ab93c8
Merge pull request #845 from fhuberts/clang
Add Clang support
2023-09-09 01:22:57 +03:00
Ferry Huberts
81e05099ad Process review comments
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-07 08:07:33 +02:00
Ferry Huberts
6d9f9bb5e2 Merge branch 'master' into clang
* master:
  Fix v_sock_size definition
  Use auto for 2 locals
  Convert uses of socklen_t to v_sock_size
  Introduce v_sock_size for socklen_t
2023-09-07 08:03:04 +02:00
Leonid Stryzhevskyi
cc09632a14
Merge pull request #842 from fhuberts/fix-Wsign-conversion
Fix compiler warnings in compilation units (-Wsign-conversion)
2023-09-07 01:13:54 +03:00
Ferry Huberts
11852eb3b5 Fix v_sock_size definition
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-06 09:11:20 +02:00
Ferry Huberts
defda0ff16 Use auto for 2 locals
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-06 08:44:53 +02:00
Ferry Huberts
02936f7087 Convert uses of socklen_t to v_sock_size 2023-09-06 08:44:53 +02:00
Ferry Huberts
fd29f31a5c Introduce v_sock_size for socklen_t
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-06 08:44:53 +02:00
Ferry Huberts
46fd1a6078 Fix Clang compiler warnings (-Wno-float-equal)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-02 23:12:26 +02:00
Ferry Huberts
cc929ed690 Fix Clang compiler warnings (-Wunused-lambda-capture)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-02 23:12:26 +02:00
Ferry Huberts
e54fad7fa4 Fix Clang compiler warnings (-Wunused-exception-parameter)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-02 23:12:26 +02:00