jaredhanson / jaredhanson/passport-github

returning 404 error does not close the connection

Open
#78 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
535
Forks
290
PR merge metrics
No merged PRs in 30d

Description

im using passport.js for authentication of requests in my upload enpoints but there is an issue event if the user is unauthorized the multipart data is contiuning to send to server . there is a need to close the tcp connection during this senarios . and dont see a configuration for it yet

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the unauthorized multipart upload scenario described in the issue and inspect how Passport.js handles the 404 response. Determine whether the requested connection behavior belongs in passport-github or the surrounding upload server, then define a test that verifies what happens to the continuing request data.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authentication
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.