nushell/crates/nu-command
Reilly Wood b4b68afa17
Make HTTP requests cancellable when trying to connect (#8591)
Closes #8585.

Prior to this change, the `http` commands could get stuck for 30s while
attempting to make a connection to a remote server. After this change,
`ctrl+c` works as expected:


![image](https://user-images.githubusercontent.com/26268125/227395505-c2d5b19d-6228-4eac-836f-c0c3426b0c19.png)

To make this work, we perform blocking `ureq` calls in a background
thread and poll the channel while checking `ctrl+c`.
2023-03-24 12:45:55 -07:00
..
assets refactor html module (#5246) 2022-04-20 08:50:14 -05:00
proptest-regressions/format_conversions Add proptest regression (#8396) 2023-03-15 20:08:02 -07:00
src Make HTTP requests cancellable when trying to connect (#8591) 2023-03-24 12:45:55 -07:00
tests allow lists to have type annotations (#8529) 2023-03-24 12:54:06 +01:00
Cargo.toml Bump miette from 5.5.0 to 5.6.0 (#8531) 2023-03-24 22:55:25 +13:00
LICENSE Include license text in all crates (#5094) 2022-04-08 10:47:13 +02:00