Large-body slots are shared by everyone behind one OAuth client

Ouverte
#435 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
48/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
javascript
Domaine
api, authentication

Piste de recherche

Read the large-body slot handling around createLargeBodies and how caller.client and identityKey are defined. Then review rest.md and security.md, which describe the current per-token or per-OAuth-client behavior. Decide whether slots should use the person when a subject is present and fall back to the client otherwise; done means the behavior and both documents agree.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

area:server

The slots for large request bodies (createLargeBodies, 2 in total and 1 per caller) are keyed by caller.client. That key is a static token's name, or an OAuth client id. As a result, every person who signs in through the same OAuth client shares one slot. One person sending a large inline report makes everyone else on that client wait or get BUSY.

Nothing is broken today: the limit still protects the server. It is only coarser than "per person".

Question: should the key be the person (identityKey) when a subject is present, falling back to the client? Decide this, then update rest.md and security.md, which describe the slot as per token or OAuth client.

Langage dominant
JavaScript
Étoiles
1
Forks
1
Merge moyen
3 h 34 min
PR mergées (30 j)
213

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de eizedev/pivotkit

Toutes les issues de eizedev/pivotkit

Issues similaires

Plus d'issues JavaScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.