]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Fix] Only apply early response handling for HTTP clients 5785/head
authorVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 8 Dec 2025 22:04:03 +0000 (22:04 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 8 Dec 2025 22:04:03 +0000 (22:04 +0000)
commitd2a8fbd7dbab5671801208cebb59f3cc22810e02
treeefa1f03500805e81285c88b1d6437be881036c1d
parent01df1d4497f79960d3b17c4bab678e46767fd832
[Fix] Only apply early response handling for HTTP clients

The early response detection logic should not run for server-side
connections, as it incorrectly modifies wr_pos state when the server
reads incoming requests. This was breaking spamc protocol handling.
src/libserver/http/http_connection.c