mirror of
https://github.com/nushell/nushell
synced 2024-12-28 14:03:09 +00:00
b4b68afa17
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`. |
||
---|---|---|
.. | ||
ast | ||
engine | ||
value | ||
alias.rs | ||
cli_error.rs | ||
config.rs | ||
example.rs | ||
exportable.rs | ||
id.rs | ||
lev_distance.rs | ||
lib.rs | ||
module.rs | ||
pipeline_data.rs | ||
plugin_signature.rs | ||
shell_error.rs | ||
signature.rs | ||
span.rs | ||
syntax_shape.rs | ||
ty.rs | ||
util.rs | ||
variable.rs |