Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Rework] Allow more flexible keypair encodingvstakhov-keypair-encoding | Vsevolod Stakhov | 2024-09-21 | 1 | -2/+4 |
| | |||||
* | [Project] Remove NIST mode from everywhere | Vsevolod Stakhov | 2024-08-09 | 2 | -175/+159 |
| | |||||
* | [Rework] Further types conversion (no functional changes) | Vsevolod Stakhov | 2024-03-18 | 11 | -203/+203 |
| | |||||
* | [Rework] Remove some of the GLib types in lieu of standard ones | Vsevolod Stakhov | 2024-03-18 | 3 | -8/+8 |
| | | | | This types have constant conflicts with the system ones especially on OSX. | ||||
* | [Minor] Add HTTP_MAGIC_SVG key | moisseev | 2024-03-07 | 1 | -2/+3 |
| | |||||
* | [Minor] Serve SVG with the correct CT | moisseev | 2024-03-07 | 1 | -0/+1 |
| | |||||
* | [Test] Add unit tests | Vsevolod Stakhov | 2024-02-12 | 2 | -3/+15 |
| | |||||
* | [Fix] Try to fix url path issue | Vsevolod Stakhov | 2024-02-12 | 1 | -4/+18 |
| | |||||
* | [Rework] More steps to do refactoring | Vsevolod Stakhov | 2023-08-16 | 1 | -4/+4 |
| | |||||
* | [Rework] Use clang-format to unify formatting in all sources | Vsevolod Stakhov | 2023-07-26 | 11 | -1895/+1863 |
| | | | | No meaningful changes. | ||||
* | [Minor] Add port to the `Host` header if using non-standard ports | Vsevolod Stakhov | 2022-11-19 | 3 | -3/+71 |
| | |||||
* | [Minor] Get rid of some compiler warnings | Vsevolod Stakhov | 2022-11-04 | 1 | -4/+0 |
| | |||||
* | [Rework] Make http normalize path function a generic function | Vsevolod Stakhov | 2022-10-23 | 3 | -236/+3 |
| | |||||
* | [Minor] Fix copy-paste error | moisseev | 2022-10-09 | 1 | -1/+1 |
| | | | | PR: #4302 | ||||
* | [Fix] Fix favicon.ico Content-Type header | moisseev | 2022-10-09 | 1 | -1/+3 |
| | | | | Issue: #4301 | ||||
* | [Minor] Fix format string | Vsevolod Stakhov | 2022-07-09 | 1 | -5/+5 |
| | |||||
* | [Fix] Fix several issues with the HTTP keepalive parsing | Vsevolod Stakhov | 2022-07-09 | 1 | -14/+13 |
| | |||||
* | [Minor] Fix several issues in the parsing of the timeout in Keep-Alive header | Vsevolod Stakhov | 2022-07-09 | 1 | -25/+38 |
| | |||||
* | [Minor] Allow to specify mempool when copying an IP address structure | Vsevolod Stakhov | 2022-03-20 | 1 | -1/+1 |
| | |||||
* | Spelling (#4086) | Josh Soref | 2022-02-22 | 2 | -2/+2 |
| | | | [Rework] Massive spelling fix from @jsoref | ||||
* | [Fix] Fix host header usage in lua_http | Vsevolod Stakhov | 2022-01-29 | 2 | -2/+8 |
| | | | | | | | | | | | | | | | The issue is that `rspamd_http_message_get_http_host` actually returns non zero-terminated string in the case where `Host` header is found in a message. Hence, we *cannot* treat it as a zero terminated string. The proper approach is to use `rspamd_ftok_t` everywhere for strings but the change will be too intrusive, since it also involves many libraries, e.g. `rdns` and others. The current approach is much simplier: just copy a string into a temporary buffer ensuring that it is zero terminated in all the cases. Issue: #4051 | ||||
* | [Fix] Fix HTTP(s) client timeout | Vsevolod Stakhov | 2022-01-05 | 1 | -41/+47 |
| | |||||
* | [Minor] Use unified method to obtain http host | Vsevolod Stakhov | 2021-12-11 | 2 | -0/+34 |
| | |||||
* | [Feature] Allow to skip DNS resolution for keep-alive connections | Vsevolod Stakhov | 2021-12-09 | 3 | -12/+65 |
| | |||||
* | [Minor] Fix ssl connection reuse | Vsevolod Stakhov | 2021-12-09 | 1 | -7/+7 |
| | |||||
* | [Rework] Allow to restore SSL handlers after keepalive pooling | Vsevolod Stakhov | 2021-12-08 | 1 | -0/+11 |
| | |||||
* | [Rework] Rework SSL flag operations | Vsevolod Stakhov | 2021-12-08 | 4 | -22/+42 |
| | |||||
* | [Rework] Include SSL flag into keepalive hash | Vsevolod Stakhov | 2021-12-08 | 5 | -24/+39 |
| | |||||
* | [Minor] Try to fix keepalive for SSL connections | Vsevolod Stakhov | 2021-12-07 | 1 | -21/+18 |
| | |||||
* | [Fix] Do not double call error handler on ssl errors in the timeout path | Vsevolod Stakhov | 2021-11-18 | 1 | -5/+7 |
| | |||||
* | [Minor] Fix some more issues | Vsevolod Stakhov | 2021-09-21 | 1 | -0/+1 |
| | | | | Found by: coverity scan | ||||
* | [Fix] Fix http message flag shift | Vsevolod Stakhov | 2021-08-31 | 1 | -1/+1 |
| | | | | Issue: #3872 | ||||
* | [Minor] Fix formatting | Vsevolod Stakhov | 2021-08-12 | 1 | -1/+1 |
| | |||||
* | [Fix] Fix brain-damaged behaviour when http request has a custom Host header | Vsevolod Stakhov | 2021-08-11 | 3 | -23/+59 |
| | |||||
* | Revert "[Minor] Implement backslashes replacement while we normalise http paths" | Vsevolod Stakhov | 2021-07-30 | 1 | -30/+1 |
| | | | | This reverts commit 05d1951b5cfb9b72378eb3c1bdfdaa025b355789. | ||||
* | [Minor] Implement backslashes replacement while we normalise http paths | Vsevolod Stakhov | 2021-07-30 | 1 | -1/+30 |
| | |||||
* | [Minor] Make HTTP reply codes more consistent with the standard | Vsevolod Stakhov | 2021-03-08 | 1 | -12/+19 |
| | | | | Reported by: Steve Sturges | ||||
* | [Minor] Various fixes for display link detection | Vsevolod Stakhov | 2021-03-05 | 3 | -3/+3 |
| | |||||
* | Check gsize against G_MAXSIZE not ULLONG_MAX | Christian Göttsche | 2021-01-09 | 1 | -2/+2 |
| | | | | | | | | | | /builds/cgzones/rspamd/debian/output/source_dir/src/libserver/http/http_message.c: In function 'rspamd_http_message_set_body': /builds/cgzones/rspamd/debian/output/source_dir/src/libserver/http/http_message.c:201:23: warning: comparison is always true due to limited range of data type [-Wtype-limits] 201 | if (len != 0 && len != ULLONG_MAX) { | ^~ /builds/cgzones/rspamd/debian/output/source_dir/src/libserver/http/http_message.c:230:23: warning: comparison is always true due to limited range of data type [-Wtype-limits] 230 | if (len != 0 && len != ULLONG_MAX) { | ^~ | ||||
* | [Minor] Fix lifetime | Vsevolod Stakhov | 2020-12-23 | 1 | -5/+13 |
| | | | | This is a reason why I hate C | ||||
* | [CritFix] Fix controller paths normalisation | Vsevolod Stakhov | 2020-12-22 | 1 | -2/+11 |
| | | | | | It fixes errors like 'rspamd_controller_handle_lua_plugin: plugin handler /plugins/selectors/list_extractorstors has not been found' | ||||
* | [Minor] Allow to pass socket's ownership to http connection object | Vsevolod Stakhov | 2020-05-07 | 2 | -0/+14 |
| | |||||
* | [Feature] Add multiple base32 alphabets for decoding | Vsevolod Stakhov | 2020-04-09 | 1 | -1/+1 |
| | |||||
* | [Minor] Use stack for keep-alive pool | Vsevolod Stakhov | 2020-03-31 | 1 | -2/+4 |
| | |||||
* | [Minor] Check socket error when reusing redis pool connections | Vsevolod Stakhov | 2020-03-31 | 1 | -1/+1 |
| | |||||
* | [Minor] Check for socket error before reusing keep-alive connection | Vsevolod Stakhov | 2020-03-31 | 1 | -0/+20 |
| | |||||
* | [Minor] Fix another close/ev_modify race | Vsevolod Stakhov | 2020-03-30 | 1 | -1/+2 |
| | |||||
* | [Minor] Fix order of objects destruction for http keepalive conns | Vsevolod Stakhov | 2020-03-29 | 1 | -1/+2 |
| | |||||
* | [Minor] One more trailing slash fix + tests | Vsevolod Stakhov | 2020-02-18 | 1 | -0/+2 |
| | |||||
* | [Minor] Fix trailing slash normalisation | Vsevolod Stakhov | 2020-02-18 | 1 | -0/+11 |
| |