summaryrefslogtreecommitdiffstats
path: root/src/libserver/http
Commit message (Collapse)AuthorAgeFilesLines
* [Rework] Allow more flexible keypair encodingvstakhov-keypair-encodingVsevolod Stakhov2024-09-211-2/+4
|
* [Project] Remove NIST mode from everywhereVsevolod Stakhov2024-08-092-175/+159
|
* [Rework] Further types conversion (no functional changes)Vsevolod Stakhov2024-03-1811-203/+203
|
* [Rework] Remove some of the GLib types in lieu of standard onesVsevolod Stakhov2024-03-183-8/+8
| | | | This types have constant conflicts with the system ones especially on OSX.
* [Minor] Add HTTP_MAGIC_SVG keymoisseev2024-03-071-2/+3
|
* [Minor] Serve SVG with the correct CTmoisseev2024-03-071-0/+1
|
* [Test] Add unit testsVsevolod Stakhov2024-02-122-3/+15
|
* [Fix] Try to fix url path issueVsevolod Stakhov2024-02-121-4/+18
|
* [Rework] More steps to do refactoringVsevolod Stakhov2023-08-161-4/+4
|
* [Rework] Use clang-format to unify formatting in all sourcesVsevolod Stakhov2023-07-2611-1895/+1863
| | | | No meaningful changes.
* [Minor] Add port to the `Host` header if using non-standard portsVsevolod Stakhov2022-11-193-3/+71
|
* [Minor] Get rid of some compiler warningsVsevolod Stakhov2022-11-041-4/+0
|
* [Rework] Make http normalize path function a generic functionVsevolod Stakhov2022-10-233-236/+3
|
* [Minor] Fix copy-paste errormoisseev2022-10-091-1/+1
| | | | PR: #4302
* [Fix] Fix favicon.ico Content-Type headermoisseev2022-10-091-1/+3
| | | | Issue: #4301
* [Minor] Fix format stringVsevolod Stakhov2022-07-091-5/+5
|
* [Fix] Fix several issues with the HTTP keepalive parsingVsevolod Stakhov2022-07-091-14/+13
|
* [Minor] Fix several issues in the parsing of the timeout in Keep-Alive headerVsevolod Stakhov2022-07-091-25/+38
|
* [Minor] Allow to specify mempool when copying an IP address structureVsevolod Stakhov2022-03-201-1/+1
|
* Spelling (#4086)Josh Soref2022-02-222-2/+2
| | | [Rework] Massive spelling fix from @jsoref
* [Fix] Fix host header usage in lua_httpVsevolod Stakhov2022-01-292-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 timeoutVsevolod Stakhov2022-01-051-41/+47
|
* [Minor] Use unified method to obtain http hostVsevolod Stakhov2021-12-112-0/+34
|
* [Feature] Allow to skip DNS resolution for keep-alive connectionsVsevolod Stakhov2021-12-093-12/+65
|
* [Minor] Fix ssl connection reuseVsevolod Stakhov2021-12-091-7/+7
|
* [Rework] Allow to restore SSL handlers after keepalive poolingVsevolod Stakhov2021-12-081-0/+11
|
* [Rework] Rework SSL flag operationsVsevolod Stakhov2021-12-084-22/+42
|
* [Rework] Include SSL flag into keepalive hashVsevolod Stakhov2021-12-085-24/+39
|
* [Minor] Try to fix keepalive for SSL connectionsVsevolod Stakhov2021-12-071-21/+18
|
* [Fix] Do not double call error handler on ssl errors in the timeout pathVsevolod Stakhov2021-11-181-5/+7
|
* [Minor] Fix some more issuesVsevolod Stakhov2021-09-211-0/+1
| | | | Found by: coverity scan
* [Fix] Fix http message flag shiftVsevolod Stakhov2021-08-311-1/+1
| | | | Issue: #3872
* [Minor] Fix formattingVsevolod Stakhov2021-08-121-1/+1
|
* [Fix] Fix brain-damaged behaviour when http request has a custom Host headerVsevolod Stakhov2021-08-113-23/+59
|
* Revert "[Minor] Implement backslashes replacement while we normalise http paths"Vsevolod Stakhov2021-07-301-30/+1
| | | | This reverts commit 05d1951b5cfb9b72378eb3c1bdfdaa025b355789.
* [Minor] Implement backslashes replacement while we normalise http pathsVsevolod Stakhov2021-07-301-1/+30
|
* [Minor] Make HTTP reply codes more consistent with the standardVsevolod Stakhov2021-03-081-12/+19
| | | | Reported by: Steve Sturges
* [Minor] Various fixes for display link detectionVsevolod Stakhov2021-03-053-3/+3
|
* Check gsize against G_MAXSIZE not ULLONG_MAXChristian Göttsche2021-01-091-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 lifetimeVsevolod Stakhov2020-12-231-5/+13
| | | | This is a reason why I hate C
* [CritFix] Fix controller paths normalisationVsevolod Stakhov2020-12-221-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 objectVsevolod Stakhov2020-05-072-0/+14
|
* [Feature] Add multiple base32 alphabets for decodingVsevolod Stakhov2020-04-091-1/+1
|
* [Minor] Use stack for keep-alive poolVsevolod Stakhov2020-03-311-2/+4
|
* [Minor] Check socket error when reusing redis pool connectionsVsevolod Stakhov2020-03-311-1/+1
|
* [Minor] Check for socket error before reusing keep-alive connectionVsevolod Stakhov2020-03-311-0/+20
|
* [Minor] Fix another close/ev_modify raceVsevolod Stakhov2020-03-301-1/+2
|
* [Minor] Fix order of objects destruction for http keepalive connsVsevolod Stakhov2020-03-291-1/+2
|
* [Minor] One more trailing slash fix + testsVsevolod Stakhov2020-02-181-0/+2
|
* [Minor] Fix trailing slash normalisationVsevolod Stakhov2020-02-181-0/+11
|