Muhammad
6cb8ac6f52
SlashRemover optimization ( #1781 )
2023-09-19 22:28:06 +08:00
Muhammad
078f60ca03
Add override keyword to setSockOptCallback ( #1785 )
2023-09-19 09:23:33 +03:00
Muhammad
cfa0de4389
Optimize regex generator ( #1782 )
2023-09-18 09:50:28 +08:00
An Tao
112d19ff12
Optimize plugins with redirection functions ( #1776 )
...
Note: after this submission, users who use the SecureSSLRedirector plugin and the SlashRemover plugin should add the following line to the configuration file:
{
"name": "drogon::plugin::Redirector",
"dependencies": [],
"config": {
}
}
and add the plugin name "drogon::plugin::Redirector" to the dependencies list of the SecureSSLRedirector plugin and the SlashRemover plugin.
2023-09-16 17:33:38 +08:00
An Tao
cedeeb59f4
Add a plugin for prometheus ( #1632 )
2023-09-04 10:16:44 +08:00
An Tao
4e5638fdcd
Add a method to HttpRequest to access the matched routing parameters ( #1765 )
2023-09-04 10:13:14 +08:00
Nitromelon
53c84305b2
Simplify coroutine implementation ( #1762 )
2023-08-31 10:08:44 +08:00
Ken Matsui
5d0c70278e
Delete apply.h ( #1763 )
2023-08-29 13:55:04 +08:00
Muhammad
f8f5283dff
Allow sync advice to be callable on websocket requests ( #1733 )
...
Co-authored-by: Nitromelon <hwc14@qq.com>
2023-08-24 15:09:31 +08:00
Greisberger Christophe
40579ae308
Added isHead() method to HttpRequest, to preserve information about the original method for use in the controller ( #1743 )
2023-08-24 12:41:48 +08:00
Martin Chang
f1426c6e9a
fix race condition when setting the secure flag during test ( #1742 )
2023-08-23 23:58:29 +08:00
Nikolay Mitev
17c80508c0
Drop cpp14 build ( #1740 )
...
* Drop C++14 Support
* Update README.md
* Remove drogon::optional in favor of std::optional
* Remove drogon::filesystem in favor of std::filesystem
* Remove boost::string_view and pre-c++17 hacks
* Remove boost::any
* Remove the string_view.h and the any.h
* Remove boost lib
* Update .clang-format and ci
Co-authored-by: Omar Mohamed <omar@omar-laptop.lan>
Co-authored-by: Ken Matsui <26405363+ken-matsui@users.noreply.github.com>
Co-authored-by: An Tao <antao2002@gmail.com>
Co-authored-by: albaropereyra22 <141711575+albaropereyra22@users.noreply.github.com>
Co-authored-by: Yoshihiro Hokazono <47231909+hokacci@users.noreply.github.com>
Co-authored-by: Omar Mohamed Khallaf <51155980+omarmohamedkh@users.noreply.github.com>
2023-08-23 11:49:55 +08:00
An Tao
3aa93e62e7
Add getConnectionCount method ( #1731 )
2023-08-18 15:31:11 +08:00
Omar Mohamed Khallaf
5509091ab8
Perform insensitive string compare of cookie SameSite attribute ( #1706 )
...
Co-authored-by: Omar Mohamed <omar@omar-laptop.lan>
2023-08-14 09:41:34 +08:00
Yoshihiro Hokazono
d3dbaed60a
Recognize URI in request lines ( #1720 )
2023-08-11 15:20:00 +08:00
An Tao
ad99cf724d
Ensure that all filters, AOP advices, and handlers are executed within the IO threads. ( #1717 )
2023-08-10 23:53:56 +08:00
luk1337
0fb887cb07
Fix build error on win32/mingw ( #1668 )
2023-08-01 00:30:55 +08:00
VladlenPopolitov
ec5dfdd9f7
Use unsigned char to call the std::isspace function ( #1703 )
2023-07-30 23:03:06 +08:00
Muhammad
c1da9922eb
Removed const string& ( #1693 )
2023-07-25 22:22:22 -07:00
An Tao
92e036874a
Fix issues in the ListParaView and content types ( #1678 )
2023-07-12 15:59:13 +08:00
Muhammad
cb2ae14bdf
Make isBase64()
and isInteger()
take string_view
( #1662 )
2023-07-05 17:47:49 +08:00
Muhammad
34a5c37974
constexpr
base64 length calculators (#1652 )
2023-07-05 15:25:33 +08:00
Umar Sharief
6dbe650c74
Fix typo in newHttpJsonResponse documentation ( #1658 )
2023-07-01 11:44:22 +08:00
Umar Sharief
74bb47c690
Add CT_TEXT_JAVASCRIPT
( #1654 )
2023-07-01 11:43:39 +08:00
Muhammad
61073b4f74
Base64 improvements ( #1635 )
2023-06-24 18:09:08 +08:00
Nitromelon
eea916315e
Throw custom exception in HttpClient ( #1641 )
2023-06-24 18:05:39 +08:00
fantasy-peak
8e4474bf4c
Add overload function of newHttpResponse ( #1646 )
2023-06-24 18:04:38 +08:00
Muhammad
269399b701
Minor improvements for SlashRemover plugin ( #1634 )
2023-06-14 13:46:15 +08:00
An Tao
586fd6d67a
Use shared_ptr to store plugins ( #1640 )
2023-06-14 10:13:12 +08:00
Nitromelon
44b6916d7e
Support setting max_files in loggers. ( #1628 )
2023-06-09 13:14:03 +08:00
fantasy-peak
5e245d08dc
Add setsockopt to HttpClient ( #1625 )
2023-05-31 16:44:12 +08:00
An Tao
b9a699f866
Update trantor ( #1623 )
2023-05-30 22:39:19 +08:00
fantasy-peak
3263b78ec3
Add getOriginalPath function ( #1620 )
2023-05-28 15:12:09 +08:00
Muhammad
07726dfcab
Add SlashRemover plugin ( #1614 )
2023-05-26 11:08:57 +08:00
Muhammad
7fce0f1ff5
Hodor plugin - Use IP bytes for user IP identification ( #1606 )
2023-05-19 23:34:15 +08:00
Muhammad
87a3132fd1
Fixed logic error of limiterExpireTime_
( #1605 )
2023-05-13 23:26:13 +08:00
Ken Matsui
bd66fa4f55
Remove path from COMPILER_COMMAND ( #1590 )
2023-05-09 19:24:00 +08:00
An Tao
29984f26e0
Revert modifications to the type of clientMaxBodySize ( #1596 )
2023-05-09 19:18:10 +08:00
Omar Mohamed Khallaf
bf4ff759ad
Fix typo in config ( #1593 )
...
change 'enabled_compresed_request' to 'enabled_compressed_request'
2023-05-08 23:37:52 +08:00
Kumar Arnav
42bbc185e1
Fix #1497 ( #1592 )
2023-05-08 09:46:34 +08:00
Horribile
4ec75e03e0
Possibility to add plugins without config file ( #1572 )
2023-04-24 19:42:52 +08:00
monoliths
22c7567da3
Fix error: conversion from ‘long int’ to ‘Json::Value’ is ambiguous ( #1573 )
2023-04-23 14:48:47 +08:00
An Tao
f615d5e8df
Add the forwardCoro method to HttpAppFramework ( #1570 )
2023-04-19 13:29:11 +08:00
An Tao
65b1715539
Add the DROGON_EXPORT macro to the GlobalFilters plugin ( #1565 )
2023-04-16 13:42:46 +08:00
an-tao
4358b71f55
Add filters and plugins to the drogon.h header file
2023-04-16 12:15:27 +08:00
An Tao
c7912f246b
Add the GlobalFilters plugin ( #1555 )
2023-04-16 11:55:00 +08:00
An Tao
d133b21804
Modify the HttpMessageBody class ( #1564 )
2023-04-16 11:54:11 +08:00
An Tao
ad2798e4aa
Adapt to gcc13 ( #1563 )
2023-04-16 09:30:37 +08:00
Martin Chang
122a42cd4f
Adapt Drogon to take advitange of Trantor TLS refactor ( #1505 )
...
Co-authored-by: marty1885 <marty1885@gmail.com>
2023-03-30 23:14:53 +08:00
An Tao
120aaf249d
Remove the deprecated Json::Reader ( #1546 )
2023-03-26 17:03:19 +08:00