Consider adapting lang_handler to use http crate types
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Refactoring
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- rust
- Ambito
- backend, backend-api-design
Direzione di ricerca
Start by reading the current types in lang_handler and comparing them with the http crate and its http-body companion. Define how the extensions API carries socket data, response logs, and exceptions, and assess how the request rewriter can work with the shared types; done means those adaptations are specified and supported without losing the existing needs.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The http crate provides very similar types as are presently implemented in lang_handler. These could be reused instead to reduce our scope of maintenance. Had I realized that existed I would have just used it from the start. 😅
We would need to use the extensions API to pass through a few additional needed bits like socket data (local/remote ip/port), response logs, and exceptions though, as those do not have any specific support included.
There's a few benefits I see:
- Using known/shared standard code makes maintenance and contribution easier
- In combination with
http-bodycompanion crate, stream support becomes much easier - Our request rewriter could be lifted to be more generalized over http crate types for use in the broader Rust ecosystem
- Lingua principale
- Rust
- Stelle
- 429
- Fork
- 11
- Merge medio
- 29m
- PR unite (30g)
- 1
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di platformatic/php-node
-
Support for Windows Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
platformatic/php-node#58 ·
-
libzip version Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 20/100
platformatic/php-node#43 · 7 commenti ·
-
Create a dev release flow Aperta
platformatic/php-node#26 · 2 commenti · 1 assegnatario ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
platformatic/php-node#21 · 2 commenti ·
Tutte le issue di platformatic/php-node
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
Eynzof/Hermes-CN-Desktop#616 ·
-
bug rules
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
app bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
IronCoreLabs/ironcore-alloy#346 ·
-
good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100