Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(logger): properly end request every time #1557

Merged
merged 2 commits into from
Mar 20, 2021
Merged

Conversation

balazsorban44
Copy link
Member

@balazsorban44 balazsorban44 commented Mar 20, 2021

What:
Properly returning and ending the request in _log endpoint.

Why:
Fixes #1538

How:

There was an early return that did not call res.end, which made the request handler hang until it just timed out.

Checklist:

  • Documentation
  • Tests
  • Ready to be merged

@vercel
Copy link

vercel bot commented Mar 20, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/nextauthjs/next-auth/FxJsgtjaVjzCT26hHMoFAWQ4YZV6
✅ Preview: https://next-auth-git-fix-logger-timeout-nextauthjs.vercel.app

@github-actions github-actions bot added the core Refers to `@auth/core` label Mar 20, 2021
@vercel vercel bot temporarily deployed to Preview March 20, 2021 08:58 Inactive
@balazsorban44 balazsorban44 merged commit 985f7b3 into main Mar 20, 2021
@balazsorban44 balazsorban44 deleted the fix/logger-timeout branch March 20, 2021 09:08
@github-actions
Copy link

🎉 This PR is included in version 3.13.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link

@vonsamnang01041994 vonsamnang01041994 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏼

@github-actions
Copy link

🎉 This PR is included in version 4.0.0-next.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

@nextauthjs nextauthjs deleted a comment from vonsamnang01041994 Apr 25, 2021
mnphpexpert added a commit to mnphpexpert/next-auth that referenced this pull request Sep 2, 2024
* fix(logger): properly end request every time

* chore: fix linting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Refers to `@auth/core`
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Signout only works after some time has passed
2 participants