alexcrichton / alexcrichton/curl-rust

Possible bug in `read_function`?

Aperta
#179 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
1.1k
Fork
258
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I was attempting to debug why https://github.com/rust-lang/crates.io/blob/120f8008fb08c21fc6cd239c1100692a0ff487e6/src/tests/record.rs#L310-L370 was returning "Problem's parsing json". Changing the URL to `http` and then inspecting the traffic w/ wireshark, it looks like the request body is never being sent. https://github.com/rust-lang/crates.io/blob/120f8008fb08c21fc6cd239c1100692a0ff487e6/src/tests/record.rs#L347-L349 is definitely being called, and the buffer passed in is being populated correctly. I'm not sure if this is a bug in crates.io or a bug in curl-rust.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.