Investigate memory management issue with HttpRequest URLs in http_client.zig
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Refactoring
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- zig
- Ambito
- testing
Direzione di ricerca
Inizia da http_client.zig e segui la proprietà dell’URL di HttpRequest durante l’inizializzazione e deinit, quindi esamina la configurazione dei test indicata. Determina come vengono gestite le stringhe globali e se il workaround di duplicazione esistente è ancora necessario. Il lavoro è completato quando la pulizia della richiesta non tenta più di liberare stringhe globali non di sua proprietà e i test interessati hanno esito positivo.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Review and refactor how memory is managed for HttpRequest URLs, particularly in test scenarios where the deinit method tries to free global strings. Consider alternative approaches for test setups or memory management.
Reference:
// TODO: The request de-allocates the memory used by the url in the deinit method.
// Because of this, with this test, we have to dupe it or else it cant deinit a global string.
// Needing to do this is a sign that something is off here, but also newing up requests directly
// isn't really intended either. Either way, need to look into this further.
- Lingua principale
- Zig
- Stelle
- 11
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
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 bradcypert/httpspec
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
bradcypert/httpspec#22 · 1 commento ·
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
bradcypert/httpspec#12 ·
Tutte le issue di bradcypert/httpspec
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
test(activity): the useActivity pagination test races a third page against its second-page assertion Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
jessepollak/home#765 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 91/100
nesquena/hermes-webui#7735 ·
-
test_rule_oracle fails against hashcat 7.1.2+ dev builds: --stdout now $HEX-encodes candidates Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
trustedsec/hate_crack#337 · 2 commenti ·
-
AuTest Bug Tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
apache/trafficserver#13714 ·