Skip to content

Clear mail proxy upstream connection after close#33

Open
xintenseapple wants to merge 1 commit into
freenginx:defaultfrom
xintenseapple:fix/issue-24-mail-proxy-stale-upstream-conn
Open

Clear mail proxy upstream connection after close#33
xintenseapple wants to merge 1 commit into
freenginx:defaultfrom
xintenseapple:fix/issue-24-mail-proxy-stale-upstream-conn

Conversation

@xintenseapple

Copy link
Copy Markdown

Summary:

  • Clear the mail proxy upstream connection pointer immediately after closing it on upstream error, internal error, and session close paths.

Verification:

  • git diff --check; ./auto/configure --with-mail --without-http; make -j2

Fixes #24

@mdounin

mdounin commented Jun 10, 2026

Copy link
Copy Markdown
Member

I don't think this is needed. Handlers from the proxy module shouldn't be called after fatal errors in the first place, and this is what the patch linked in the issue comments does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mail proxy leaves a stale upstream connection pointer after close

2 participants